Skip to content

Commit 47de5f2

Browse files
committed
PHPCS: Update ruleset to exclude classes from PrefixAllGlobals.NonPrefixedClassFound sniff
1 parent f4d37e9 commit 47de5f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

phpcs.xml.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@
5858
</rule>
5959

6060
<rule ref="WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound">
61-
<exclude-pattern>*/src/Option_Command\.php$</exclude-pattern>
61+
<exclude-pattern>*/src/Network_Meta_Command\.php$</exclude-pattern>
62+
<exclude-pattern>*/src/Network_Namespace\.php$</exclude-pattern>
63+
<exclude-pattern>*/src/Option_Command\.php$</exclude-pattern>
6264
<exclude-pattern>*/src/Post(_Meta|_Term|_Type)?_Command\.php$</exclude-pattern>
6365
<exclude-pattern>*/src/Site(_Meta|_Option)?_Command\.php$</exclude-pattern>
6466
<exclude-pattern>*/src/Term(_Meta)?_Command\.php$</exclude-pattern>

0 commit comments

Comments
 (0)