Skip to content

Commit 8f336b7

Browse files
committed
Update tests
1 parent 8ba7ccf commit 8f336b7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

WordPress/Tests/Security/EscapeOutputUnitTest.21.inc

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ echo ClassName::$publicStaticProperty; // Bad
4848
// phpcs:set WordPress.Security.EscapeOutput customEscapingFunctions[] \QualifiedExample\Namespaced\ClassName::statMethod
4949

5050
echo \QualifiedExample\Namespaced\ClassName::statMethod(); // Ok.
51+
echo \QualifiedExample\Namespaced\ClassName::statmethod(); // Ok.
52+
echo \QualifiedExample\namespaced\className::statmethoD(); // Ok.
5153

5254
// phpcs:set WordPress.Security.EscapeOutput customEscapingFunctions[]
5355

WordPress/Tests/Security/EscapeOutputUnitTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function getErrorList( $testFile = '' ) {
199199
43 => 1,
200200
44 => 1,
201201
46 => 1,
202-
54 => 1,
202+
56 => 1,
203203
);
204204

205205
default:

0 commit comments

Comments
 (0)