Skip to content

Commit cc763e8

Browse files
authored
Do not handle case and default (conflict with other rule) (#52)
1 parent 973c449 commit cc763e8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

phpcs/ruleset.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,15 @@
126126
<rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment.UselessDocComment"/>
127127
<rule ref="SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing">
128128
<properties>
129-
<property name="controlStructures[]" value="if"/>
130-
<property name="controlStructures[]" value="do"/>
131-
<property name="controlStructures[]" value="while"/>
132-
<property name="controlStructures[]" value="for"/>
133-
<property name="controlStructures[]" value="foreach"/>
134-
<property name="controlStructures[]" value="switch"/>
135-
<property name="controlStructures[]" value="try"/>
129+
<property name="controlStructures" type="array">
130+
<element value="if"/>
131+
<element value="do"/>
132+
<element value="while"/>
133+
<element value="for"/>
134+
<element value="foreach"/>
135+
<element value="switch"/>
136+
<element value="try"/>
137+
</property>
136138
</properties>
137139
</rule>
138140
<rule ref="SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing"/>

0 commit comments

Comments
 (0)