Skip to content

Commit a4456ad

Browse files
committed
updated tests
1 parent 01c30e7 commit a4456ad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

WordPress/Tests/NamingConventions/PrefixAllGlobalsUnitTest.1.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ class WP_Atom_Server {
673673
}
674674
}
675675

676-
// phpcs:set WordPress.NamingConventions.PrefixAllGlobals prefixes[]
676+
// phpcs:set WordPress.NamingConventions.PrefixAllGlobals prefixes[] tod
677+
function tod_something() {}
677678

678-
// phpcs:set WordPress.NamingConventions.PrefixAllGlobals prefixes[] ^%&
679-
function ^%&_do_something() {}
679+
// phpcs:set WordPress.NamingConventions.PrefixAllGlobals prefixes[]

WordPress/Tests/NamingConventions/PrefixAllGlobalsUnitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function getErrorList( $testFile = 'PrefixAllGlobalsUnitTest.1.inc' ) {
9696
616 => 1,
9797
617 => 1,
9898
633 => 1,
99-
679 => 1,
99+
677 => 1,
100100
);
101101

102102
case 'PrefixAllGlobalsUnitTest.4.inc':

0 commit comments

Comments
 (0)