Skip to content

Commit

Permalink
Add WordPress.WhiteSpace.ControlStructureSpacing for 1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctl committed Sep 15, 2021
1 parent a36bd3c commit e485bb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ModernTribe/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
<exclude name="WordPressVIPMinimum.Constants.ConstantString.NotCheckingConstantName"/>
<exclude name="WordPressVIPMinimum.Variables.VariableAnalysis"/>
</rule>
<!-- Covers rule: Put spaces on both sides of the opening and closing parenthesis of
functions, methods, if, elseif, foreach, for, and switch blocks. -->
<rule ref="WordPress.WhiteSpace.ControlStructureSpacing"/>

<!-- Generic / Squiz -->
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie"/>
Expand Down

0 comments on commit e485bb5

Please sign in to comment.