File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -44,3 +44,11 @@ echo Some\Enum\Color::ENUM_CONSTANT; // Bad.
4444echo Some \ClassName:: CLASS_CONSTANT ; // Bad.
4545
4646echo ClassName::$ publicStaticProperty ; // Bad
47+
48+ // phpcs:set WordPress.Security.EscapeOutput customEscapingFunctions[] \QualifiedExample\Namespaced\ClassName::statMethod
49+
50+ echo \QualifiedExample \Namespaced \ClassName::statMethod (); // Ok.
51+
52+ // phpcs:set WordPress.Security.EscapeOutput customEscapingFunctions[]
53+
54+ echo \QualifiedExample \Namespaced \ClassName::statMethod (); // Bad.
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ public function getErrorList( $testFile = '' ) {
199199 43 => 1 ,
200200 44 => 1 ,
201201 46 => 1 ,
202+ 54 => 1 ,
202203 );
203204
204205 default :
You can’t perform that action at this time.
0 commit comments