Skip to content

Commit 7426521

Browse files
committed
No longer require a space before a colon for control structures using the alternative syntax
1 parent f14d045 commit 7426521

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Magento2/ruleset.xml

+3
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,9 @@
431431
<rule ref="Squiz.ControlStructures.ControlSignature">
432432
<severity>6</severity>
433433
<type>warning</type>
434+
<properties>
435+
<property name="requiredSpacesBeforeColon" value="0"/>
436+
</properties>
434437
</rule>
435438
<rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace">
436439
<exclude-pattern>*.phtml</exclude-pattern>

0 commit comments

Comments
 (0)