File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change 8181 #############################################################################
8282 -->
8383
84- <!-- Exclude existing classes from the prefix rule as it would break BC to prefix them now. -->
85- <rule ref =" WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound" >
86- <exclude-pattern >*/php/commands/src/CLI_(Cache_)?Command\.php$</exclude-pattern >
87- <exclude-pattern >*/php/commands/src/Help_Command\.php$</exclude-pattern >
88- <exclude-pattern >*/utils/contrib-list\.php$</exclude-pattern >
89- </rule >
90-
91- <!-- Exclude existing classes from the prefix rule as it would break BC to prefix them now. -->
92- <rule ref =" WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound" >
93- <exclude-pattern >php/wp-settings-cli\.php$</exclude-pattern >
94- </rule >
95-
96- <!-- These are all to do with file-system related tests. Just ignore them. -->
97- <rule ref =" WordPress.WP.CapitalPDangit" >
98- <exclude-pattern >*/tests/test-(extractor|utils)\.php$</exclude-pattern >
99- </rule >
100-
101- <!-- Allow for select data providers for tests to use single-line associative arrays. -->
102- <rule ref =" WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound" >
103- <exclude-pattern >*/tests/test-(process|utils)\.php$</exclude-pattern >
104- </rule >
105-
106- <!-- This is a procedural stand-alone file that is never loaded in a WordPress context,
107- so this file does not have to comply with WP naming conventions. -->
108- <rule ref =" WordPress.NamingConventions.PrefixAllGlobals" >
109- <exclude-pattern >*/utils/get-package-require-from-composer\.php$</exclude-pattern >
110- </rule >
111-
11284</ruleset >
You can’t perform that action at this time.
0 commit comments