Skip to content

Commit

Permalink
Merge pull request #11 from dasgarner/master
Browse files Browse the repository at this point in the history
phpcs: exclude elseif sniff
  • Loading branch information
dasgarner authored Jan 25, 2022
2 parents 92b0403 + 68746a1 commit 00dbe80
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 00dbe80

Please sign in to comment.