make: enable new sniff for codesniffer

This commit is contained in:
Franco Fichtner 2017-12-27 11:56:00 +00:00
parent 6c13cbf4dd
commit 2b71525147
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
<ruleset name="PSR2+">
<description>Slightly enhanced version of the PSR2 standard</description>
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
<!--
<rule ref="Generic.CodeAnalysis.EmptyPHPStatement"/>
-->
<rule ref="PSR2"/>
<exclude-pattern>*.css</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>