Skip to content

Commit

Permalink
Merge pull request #1156 from WordPress-Coding-Standards/feature/extr…
Browse files Browse the repository at this point in the history
…a-namespace-blank-line-after

Modern code/Extra: add sniff to check for single blank line after namespace declaration
  • Loading branch information
westonruter authored Sep 22, 2017
2 parents 109e4f3 + 837b9d7 commit f66e713
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions WordPress-Extra/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,13 @@
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/919 -->
<rule ref="WordPress.Classes.ClassInstantiation"/>

<!--
#############################################################################
Code style sniffs for more recent PHP features and syntaxes.
#############################################################################
-->

<!-- Check for single blank line after namespace declaration. -->
<rule ref="PSR2.Namespaces.NamespaceDeclaration"/>

</ruleset>

0 comments on commit f66e713

Please sign in to comment.