Exclude abstract classes from PHPCS file name checks

The plan is to revisit this for WC 4.0 and rename abstract classes files.
This commit is contained in:
Rodrigo Primo 2017-11-27 10:57:16 -02:00
parent 7b17b79460
commit 3fe834ba3c
1 changed files with 3 additions and 0 deletions

View File

@ -45,4 +45,7 @@
<property name="text_domain" type="array" value="woocommerce" />
</properties>
</rule>
<rule ref="WordPress.Files.FileName.InvalidClassFileName">
<exclude-pattern>includes/**/abstract-*.php</exclude-pattern>
</rule>
</ruleset>