Skip to content

Commit 3ae8b5c

Browse files
Remove unnecessary exceptions
Co-authored-by: Alain Schlesser <[email protected]>
1 parent a34c53b commit 3ae8b5c

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

phpcs.xml.dist

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -81,32 +81,4 @@
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>

0 commit comments

Comments
 (0)