Skip to content

Commit

Permalink
Keep JumpStatements as they were before Doctrine CS 8
Browse files Browse the repository at this point in the history
  • Loading branch information
grongor committed Jun 9, 2020
1 parent 4ee4a56 commit 3ef97d2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Cdn77/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,21 @@
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Commenting.RequireOneLineDocComment"/>
<rule ref="SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing">
<properties>
<property name="linesCountAfterWhenLastInCaseOrDefault" value="0"/>
<property name="linesCountAfterWhenLastInLastCaseOrDefault" value="0"/>
<property name="tokensToCheck" type="array">
<element value="T_GOTO"/>
<element value="T_BREAK"/>
<element value="T_CONTINUE"/>
<element value="T_RETURN"/>
<element value="T_THROW"/>
<element value="T_YIELD"/>
<element value="T_YIELD_FROM"/>
</property>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Files.LineLength"/>

<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing">
Expand Down

0 comments on commit 3ef97d2

Please sign in to comment.