Commit f39127ce authored by catch's avatar catch
Browse files

Issue #2901718 by mfernea: Fix 'Squiz.ControlStructures.ForEachLoopDeclaration' coding standard

parent da9c5ba2
...@@ -147,6 +147,17 @@ ...@@ -147,6 +147,17 @@
</rule> </rule>
<!-- Squiz sniffs --> <!-- Squiz sniffs -->
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration" />
<!-- Disable some error messages that we already cover. -->
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.AsNotLower">
<severity>0</severity>
</rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen">
<severity>0</severity>
</rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose">
<severity>0</severity>
</rule>
<rule ref="Squiz.ControlStructures.ForLoopDeclaration"/> <rule ref="Squiz.ControlStructures.ForLoopDeclaration"/>
<!-- Disable some error messages that we already cover. --> <!-- Disable some error messages that we already cover. -->
<rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterOpen"> <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterOpen">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment