Merge pull request woocommerce/woocommerce-admin#2794 from woocommerce/update/class-sniff-exclude
update the class filename exclusion to /src/ for PSR-4
This commit is contained in:
commit
2a994fca0e
|
@ -28,7 +28,7 @@
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<rule ref="WordPress.Files.FileName.InvalidClassFileName">
|
<rule ref="WordPress.Files.FileName.InvalidClassFileName">
|
||||||
<exclude-pattern>includes/**/abstract-*.php</exclude-pattern>
|
<exclude-pattern>src/*</exclude-pattern>
|
||||||
<exclude-pattern>tests/*</exclude-pattern>
|
<exclude-pattern>tests/*</exclude-pattern>
|
||||||
<exclude-pattern>woocommerce-admin.php</exclude-pattern>
|
<exclude-pattern>woocommerce-admin.php</exclude-pattern>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
Loading…
Reference in New Issue