Skip to content

Commit fb7cbdd

Browse files
rodrigoprimojrfnl
andauthored
Update WordPress/Tests/Security/EscapeOutputUnitTest.1.inc
Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
1 parent d56798e commit fb7cbdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WordPress/Tests/Security/EscapeOutputUnitTest.1.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,6 @@ _deprecated_file( MyClass::basename( __FILE__ ), '1.3.0' ); // Bad.
763763
_deprecated_file( BASENAME, __FILE__ ); // Bad.
764764
_deprecated_file( MyNamespace\basename( __FILE__ ), '1.3.0' ); // Bad.
765765
_deprecated_file( \MyNamespace\basename( __FILE__ ), '1.3.0' ); // Bad.
766-
_deprecated_file( namespace\basename( __FILE__ ), '1.3.0' ); // Bad. We might want to update the regex so that the sniff stop flagging this once it can resolve relative namespaces.
766+
_deprecated_file( namespace\basename( __FILE__ ), '1.3.0' ); // Bad. We might want to update the regex so that the sniff stops flagging this once it can resolve relative namespaces.
767767
_deprecated_file( namespace\Sub\basename( __FILE__ ), '1.3.0' ); // Bad.
768768
_deprecated_file( basename(...), '1.3.0' ); // Bad.

0 commit comments

Comments
 (0)