Skip to content

Commit

Permalink
Add sniff for consistent function spacing to extra ruleset.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Sep 11, 2016
1 parent e0b033c commit 11ec979
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions WordPress-Extra/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
<rule ref="Generic.Classes.DuplicateClassName"/>
<rule ref="Generic.Strings.UnnecessaryStringConcat"/>

<rule ref="Squiz.WhiteSpace.FunctionSpacing">
<properties>
<property name="spacing" value="1"/>
</properties>
</rule>

<!-- This sniff is not refined enough for general use -->
<!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/382#discussion_r29970107 -->
<!--<rule ref="Generic.Formatting.MultipleStatementAlignment"/>-->
Expand Down

0 comments on commit 11ec979

Please sign in to comment.