Ignore file comment and package tag in src
This commit is contained in:
parent
3632714885
commit
a54f0aae19
11
phpcs.xml
11
phpcs.xml
|
@ -73,6 +73,15 @@
|
||||||
<exclude-pattern>tests/Tools/</exclude-pattern>
|
<exclude-pattern>tests/Tools/</exclude-pattern>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
|
<rule ref="Squiz.Commenting.FileComment.MissingPackageTag">
|
||||||
|
<exclude-pattern>src/</exclude-pattern>
|
||||||
|
<exclude-pattern>tests/php/</exclude-pattern>
|
||||||
|
</rule>
|
||||||
|
<rule ref="Squiz.Commenting.FileComment.Missing">
|
||||||
|
<exclude-pattern>src/</exclude-pattern>
|
||||||
|
<exclude-pattern>tests/php/</exclude-pattern>
|
||||||
|
</rule>
|
||||||
|
|
||||||
<rule ref="Squiz.Commenting.FunctionCommentThrowTag.Missing">
|
<rule ref="Squiz.Commenting.FunctionCommentThrowTag.Missing">
|
||||||
<exclude-pattern>tests/php/</exclude-pattern>
|
<exclude-pattern>tests/php/</exclude-pattern>
|
||||||
</rule>
|
</rule>
|
||||||
|
@ -80,7 +89,7 @@
|
||||||
<rule ref="Squiz.Commenting.FileComment.Missing">
|
<rule ref="Squiz.Commenting.FileComment.Missing">
|
||||||
<exclude-pattern>tests/php/</exclude-pattern>
|
<exclude-pattern>tests/php/</exclude-pattern>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<rule ref="WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid">
|
<rule ref="WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid">
|
||||||
<exclude-pattern>src/</exclude-pattern>
|
<exclude-pattern>src/</exclude-pattern>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
Loading…
Reference in New Issue