Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #30 from michalsn/elseif_sniff
Browse files Browse the repository at this point in the history
Require usage of elseif instead of else if
  • Loading branch information
louisl authored Aug 19, 2020
2 parents 3efdfb1 + 4e2e802 commit db3d7d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CodeIgniter4/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@
Checks there are no blank lines before a function closing brace.
-->
<rule ref="CodeIgniter4.WhiteSpace.FunctionClosingBraceSpace"/>
<!--
The keyword elseif SHOULD be used instead of else if so that all control
keywords look like single words.
-->
<rule ref="PSR2.ControlStructures.ElseIfDeclaration"/>
<!--
Checks for each declarations are styled properly.
-->
Expand Down

0 comments on commit db3d7d7

Please sign in to comment.