diff --git a/WordPress/Tests/NamingConventions/PrefixAllGlobalsUnitTest.1.inc b/WordPress/Tests/NamingConventions/PrefixAllGlobalsUnitTest.1.inc index ee01e3c73..5972f493c 100644 --- a/WordPress/Tests/NamingConventions/PrefixAllGlobalsUnitTest.1.inc +++ b/WordPress/Tests/NamingConventions/PrefixAllGlobalsUnitTest.1.inc @@ -673,7 +673,7 @@ class WP_Atom_Server { } } -// phpcs:set WordPress.NamingConventions.PrefixAllGlobals prefixes[] +// phpcs:set WordPress.NamingConventions.PrefixAllGlobals prefixes[] tod +function tod_something() {} -// phpcs:set WordPress.NamingConventions.PrefixAllGlobals prefixes[] ^%& -function ^%&_do_something() {} \ No newline at end of file +// phpcs:set WordPress.NamingConventions.PrefixAllGlobals prefixes[] diff --git a/WordPress/Tests/NamingConventions/PrefixAllGlobalsUnitTest.php b/WordPress/Tests/NamingConventions/PrefixAllGlobalsUnitTest.php index baada4d06..beb4c0fc6 100644 --- a/WordPress/Tests/NamingConventions/PrefixAllGlobalsUnitTest.php +++ b/WordPress/Tests/NamingConventions/PrefixAllGlobalsUnitTest.php @@ -96,7 +96,7 @@ public function getErrorList( $testFile = 'PrefixAllGlobalsUnitTest.1.inc' ) { 616 => 1, 617 => 1, 633 => 1, - 679 => 1, + 677 => 1, ); case 'PrefixAllGlobalsUnitTest.4.inc':