Skip to content

Commit a916b11

Browse files
authored
Merge pull request #132 from hostep/fixes-issue-118
No longer require a space before a colon for control structures using…
2 parents f14d045 + f7c47a0 commit a916b11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Magento2/ruleset.xml

Lines changed: 3 additions & 0 deletions
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)