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

@ -116,7 +116,11 @@
<severity>0</severity> <severity>0</severity>
</rule> </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" /> <rule ref="Generic.PHP.ForbiddenFunctions" />