Don't enforce filename or inline commenting standards against the tests/ directory

This commit is contained in:
Steve Grunwell 2018-01-22 03:23:48 +00:00
parent 62c4cbb0c8
commit 3f7034602f
1 changed files with 7 additions and 0 deletions

View File

@ -52,5 +52,12 @@
</rule>
<rule ref="WordPress.Files.FileName.InvalidClassFileName">
<exclude-pattern>includes/**/abstract-*.php</exclude-pattern>
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="Generic.Commenting">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting">
<exclude-pattern>tests/</exclude-pattern>
</rule>
</ruleset>