Skip to content

Commit c6b9224

Browse files
authored
Merge pull request #15 from spaze/spaze/disallow-trailing-multiline-ternary-operator
Disallow trailing multiline ternary operator
2 parents 9d3d98a + 204458a commit c6b9224

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
</properties>
8787
</rule>
8888
<rule ref="SlevomatCodingStandard.ControlStructures.AssignmentInCondition"/>
89+
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOperator"/>
8990
<rule ref="SlevomatCodingStandard.ControlStructures.NewWithParentheses"/>
9091
<rule ref="SlevomatCodingStandard.ControlStructures.RequireMultiLineCondition">
9192
<properties>

0 commit comments

Comments
 (0)