Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dingo-d committed Sep 22, 2023
1 parent 21c5742 commit 4a48492
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions WordPress/Tests/Security/EscapeOutputUnitTest.21.inc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ echo ClassName::$publicStaticProperty; // Bad
// phpcs:set WordPress.Security.EscapeOutput customEscapingFunctions[] \QualifiedExample\Namespaced\ClassName::statMethod

echo \QualifiedExample\Namespaced\ClassName::statMethod(); // Ok.
echo \QualifiedExample\Namespaced\ClassName::statmethod(); // Ok.
echo \QualifiedExample\namespaced\className::statmethoD(); // Ok.

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

Expand Down
2 changes: 1 addition & 1 deletion WordPress/Tests/Security/EscapeOutputUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function getErrorList( $testFile = '' ) {
43 => 1,
44 => 1,
46 => 1,
54 => 1,
56 => 1,
);

default:
Expand Down

0 comments on commit 4a48492

Please sign in to comment.