Skip to content

Commit

Permalink
Removed check for early exit
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Feb 7, 2019
1 parent b2011fb commit 39a0585
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ REMOVED:

FIXED:

## 1.1.2 - 2019-02-07

REMOVED:

- Check for early exit

## 1.1.1 - 2019-02-07

FIXED:
Expand Down
5 changes: 1 addition & 4 deletions src/WoohooLabs/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,6 @@
<!-- Forbid fancy yoda conditions -->
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowYodaComparison"/>

<!-- Disallow useless else/elseif conditions -->
<rule ref="SlevomatCodingStandard.ControlStructures.EarlyExitSniff"/>

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

Expand Down Expand Up @@ -201,7 +198,7 @@
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators"/>

<!-- Forbid whitespace after the spread operator -->
<rule ref="SlevomatCodingStandard.Operators.SpreadOperatorSpacingSniff"/>
<rule ref="SlevomatCodingStandard.Operators.SpreadOperatorSpacing"/>

<!-- Forbid `list(...)` syntax -->
<rule ref="SlevomatCodingStandard.PHP.ShortList"/>
Expand Down

0 comments on commit 39a0585

Please sign in to comment.