Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2794 from woocommerce/update/class-sniff-exclude
Browse files Browse the repository at this point in the history
update the class filename exclusion to /src/ for PSR-4
  • Loading branch information
rrennick authored Aug 14, 2019
2 parents f06a088 + 1d4c3e3 commit 8053bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</rule>

<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>woocommerce-admin.php</exclude-pattern>
</rule>
Expand Down

0 comments on commit 8053bd8

Please sign in to comment.