Skip to content

Commit

Permalink
Add rule to disallow alternative PHP open tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Jul 14, 2016
1 parent 44373ed commit dd7655f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WordPress-Theme/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<!-- Covers: https://github.com/Otto42/theme-check/blob/master/checks/phpshort.php -->
<rule ref="Generic.PHP.DisallowShortOpenTag" />

<!-- Alternative PHP open tags not allowed. -->
<rule ref="WordPress.PHP.DisallowAlternativePHPTags"/>

<!-- Only UNIX line endings allowed. -->
<!-- Covers: https://github.com/Otto42/theme-check/blob/master/checks/lineendings.php -->
<rule ref="Generic.Files.LineEndings">
Expand Down

0 comments on commit dd7655f

Please sign in to comment.