Skip to content

Commit 487936c

Browse files
committed
remove elseif nag
1 parent 80ee0f9 commit 487936c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.config/phpcs.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<!-- Set indent for `break` to 0 so it aligns with `case` and `default` -->
2424
<rule ref="PSR2.ControlStructures.SwitchDeclaration">
2525
<properties><property name="indent" value="0" /></properties>
26+
<exclude name="PSR2.ControlStructures.ElseIfDeclaration.NotAllowed"/>
2627
</rule>
2728

2829
<!-- Include the whole PSR-12 standard -->

0 commit comments

Comments
 (0)