Skip to content

Commit 10d8db7

Browse files
committed
config: Remove DisallowInlineIf PHPCS rule — allow ternaries for PHPMD ElseExpression compliance
1 parent 55a1c1c commit 10d8db7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

phpcs.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
<!-- Removed the OperatorBracket rule to allow operations without brackets -->
5151
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing"/>
5252
<rule ref="Squiz.Operators.ComparisonOperatorUsage"/>
53-
<rule ref="Squiz.PHP.DisallowInlineIf"/>
5453
<rule ref="Squiz.Scope.MethodScope"/>
5554
<rule ref="Squiz.Strings.ConcatenationSpacing"/>
5655
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing"/>

0 commit comments

Comments
 (0)