From a4456ad83fef77cb9efece5fc214ca6613dff8b5 Mon Sep 17 00:00:00 2001 From: davidperezgar Date: Wed, 4 Sep 2024 22:05:42 +0200 Subject: [PATCH] updated tests --- .../Tests/NamingConventions/PrefixAllGlobalsUnitTest.1.inc | 6 +++--- .../Tests/NamingConventions/PrefixAllGlobalsUnitTest.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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':