Skip to content

Commit 1a8f104

Browse files
committed
Update PHPCS config
1 parent cbe7b57 commit 1a8f104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpcs.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@
9898

9999
<!-- These are all to do with file-system related tests. Just ignore them. -->
100100
<rule ref="WordPress.WP.CapitalPDangit">
101-
<exclude-pattern>*/tests/test-(extractor|utils)\.php$</exclude-pattern>
101+
<exclude-pattern>*/tests/(Extractor|Utils)Test\.php$</exclude-pattern>
102102
</rule>
103103

104104
<!-- Allow for select data providers for tests to use single-line associative arrays. -->
105105
<rule ref="WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound">
106-
<exclude-pattern>*/tests/test-(process|utils)\.php$</exclude-pattern>
106+
<exclude-pattern>*/tests/(Process|Utils)Test\.php$</exclude-pattern>
107107
</rule>
108108

109109
<!-- This is a procedural stand-alone file that is never loaded in a WordPress context,

0 commit comments

Comments
 (0)