You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Security/EscapeOutput: add edge case tests for basename(__FILE__) pattern
Add tests to ensure the basename(__FILE__) pattern recognition in `_deprecated_file()` only applies to global `basename()` function calls, not to other constructs that might look similar.
_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.
0 commit comments