Update ruleset.xml

PHP code MUST NOT contain any character before the opening tag
This commit is contained in:
frederic34 2014-07-07 21:11:03 +02:00
parent 1a2ed2138b
commit 9cca9f352f

View File

@ -115,8 +115,12 @@
<rule ref="Generic.PHP.DeprecatedFunctions.Deprecated">
<severity>0</severity>
</rule>
<rule ref="Generic.PHP.DisallowShortOpenTag" />
<!-- PHP code MUST NOT contain any character before the opening tag -->
<rule ref="Generic.PHP.CharacterBeforePHPOpeningTag"/>
<!-- PHP code MUST NOT contain any short opening tag -->
<rule ref="Generic.PHP.DisallowShortOpenTag" />
<rule ref="Generic.PHP.ForbiddenFunctions" />