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.
44
44
echo Some \ClassName:: CLASS_CONSTANT ; // Bad.
45
45
46
46
echo 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 = '' ) {
199
199
43 => 1 ,
200
200
44 => 1 ,
201
201
46 => 1 ,
202
+ 54 => 1 ,
202
203
);
203
204
204
205
default :
You can’t perform that action at this time.
0 commit comments