Skip to content

Commit 009f2ad

Browse files
✨ Display error message instead of warning
1 parent 20cc1c2 commit 009f2ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SymfonyCustom/ruleset.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
<rule ref="PSR2">
1515
<exclude name="Generic.Files.LineLength"/>
1616
</rule>
17+
<rule ref="PSR2.ControlStructures.ElseIfDeclaration.NotAllowed">
18+
<type>error</type>
19+
</rule>
1720

1821
<!-- Override SuperfluousWhitespace to not ignore blank lines -->
1922
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">

0 commit comments

Comments
 (0)