exclude Squiz.ControlStructures.ForEachLoopDeclaration.SpacingBeforeAs

This commit is contained in:
Ferdinand Kuhl 2021-08-02 17:01:48 +02:00
parent 96dde4a0ab
commit 6c1b52389d

View file

@ -79,4 +79,10 @@
<exclude name="Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed"/>
</rule>
<rule ref="Generic.Arrays.ArrayIndent" />
<!-- Squizz claims you need to have exactly one space before "as", but I cannot find such rule in PSR-12 -->
<!-- override PSR-12 -->
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpacingBeforeAs">
<severity>0</severity>
</rule>
</ruleset>