Skip to content

Commit

Permalink
remove Squiz.WhiteSpace.ControlStructureSpacing since there should be…
Browse files Browse the repository at this point in the history
… no error codes left for checking, added accidentaly in PSR2 refactoring
  • Loading branch information
VasekPurchart committed Mar 23, 2018
1 parent dd4a3b6 commit 7cdee53
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Consistence/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,6 @@
</rule>
<rule ref="Squiz.Strings.EchoedStrings"/>
<rule ref="Squiz.WhiteSpace.CastSpacing"/>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing">
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.NoLineAfterClose"/><!-- we want to allow code directly after if for example -->
<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 -->
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpenBrace"/><!-- we want to put first expression of multiline condition on next line -->
<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 -->
</rule>
<rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace"/>
<rule ref="Squiz.WhiteSpace.FunctionSpacing">
<exclude name="Squiz.WhiteSpace.FunctionSpacing.After"/><!-- does not allow PHPUnit ignore comments -->
Expand Down

0 comments on commit 7cdee53

Please sign in to comment.