Skip to content

Commit 7cdee53

Browse files
committed
remove Squiz.WhiteSpace.ControlStructureSpacing since there should be no error codes left for checking, added accidentaly in PSR2 refactoring
1 parent dd4a3b6 commit 7cdee53

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Consistence/ruleset.xml

-6
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,6 @@
216216
</rule>
217217
<rule ref="Squiz.Strings.EchoedStrings"/>
218218
<rule ref="Squiz.WhiteSpace.CastSpacing"/>
219-
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing">
220-
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.NoLineAfterClose"/><!-- we want to allow code directly after if for example -->
221-
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen"/><!-- we want to allow empty line in control structure e.g. in catch blocks, where it can improve readability -->
222-
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpenBrace"/><!-- we want to put first expression of multiline condition on next line -->
223-
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose"/><!-- we want to allow empty line in control structure e.g. in try blocks, where it can improve readability -->
224-
</rule>
225219
<rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace"/>
226220
<rule ref="Squiz.WhiteSpace.FunctionSpacing">
227221
<exclude name="Squiz.WhiteSpace.FunctionSpacing.After"/><!-- does not allow PHPUnit ignore comments -->

0 commit comments

Comments
 (0)