Skip to content

Commit

Permalink
Add PHP syntax check sniff to the core ruleset.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Jul 14, 2016
1 parent 21abfbe commit d6eceb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WordPress-Core/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<ruleset name="WordPress Core">
<description>Non-controversial generally-agreed upon WordPress Coding Standards</description>

<!-- Check for PHP Parse errors -->
<rule ref="Generic.PHP.Syntax"/>

<!-- http://make.wordpress.org/core/handbook/coding-standards/php/#brace-style -->
<rule ref="Generic.ControlStructures.InlineControlStructure" />
<rule ref="Squiz.ControlStructures.ControlSignature" />
Expand Down

0 comments on commit d6eceb3

Please sign in to comment.