plugins: change to PSR12 standard

This commit is contained in:
Franco Fichtner 2019-10-07 16:23:08 +02:00
parent 3c70f7976d
commit 0d1f9d9362
1 changed files with 3 additions and 5 deletions

View File

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