Skip to content

Commit

Permalink
Merge pull request WordPress#6 from WPTRT/feature/issue-2-no-php-shor…
Browse files Browse the repository at this point in the history
…t-open-tags

Add rule to disallow PHP short open tags.
  • Loading branch information
grappler authored Jul 14, 2016
2 parents 5dd4758 + 96129a8 commit ecf92e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WordPress-Theme/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<description>Standards any Theme to be published on wordpress.org should comply with.</description>


<!-- No PHP short open tags allowed. -->
<!-- Covers: https://github.com/Otto42/theme-check/blob/master/checks/phpshort.php -->
<rule ref="Generic.PHP.DisallowShortOpenTag" />



</ruleset>

0 comments on commit ecf92e9

Please sign in to comment.