Skip to content

Commit

Permalink
phpcs: exclude elseif sniff
Browse files Browse the repository at this point in the history
  • Loading branch information
dasgarner committed Jan 25, 2022
1 parent 0c8d022 commit 68746a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Standards/xibo_ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<exclude-pattern>vendor/</exclude-pattern>

<!-- Include the whole of PSR2 -->
<rule ref="PSR2" />
<rule ref="PSR2">
<exclude name="PSR2.ControlStructures.ElseIfDeclaration" />
</rule>

<!-- Include the double quotes check from Squiz -->
<rule ref="Squiz.Strings.DoubleQuoteUsage" />
Expand Down

0 comments on commit 68746a1

Please sign in to comment.