Skip to content

Commit

Permalink
Remove EarlyExit rule - has unintended side effects
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Schoenmaker authored and Hidde Boomsma committed Aug 17, 2018
1 parent 572697b commit f8c18c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Hostnet/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@
<!-- report invalid format of inline phpDocs with @var -->
<rule ref="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration"/>

<!-- Require usage of early exit -->
<rule ref="SlevomatCodingStandard.ControlStructures.EarlyExit"/>

<!-- Require language constructs without parentheses -->
<rule ref="SlevomatCodingStandard.ControlStructures.LanguageConstructWithParentheses"/>

Expand Down

0 comments on commit f8c18c3

Please sign in to comment.