Disallow print, is_null and create_function as well.
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 4 Jan 2013 14:17:45 +0000 (15:17 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 4 Jan 2013 14:17:45 +0000 (15:17 +0100)
CodeSniff/WCF/ruleset.xml

index c1297a30115fc34d3fcaa3dc7db32eca44d00cdb..4bd6de83d82b4f7e4a8e52b2110fb7bdc146fac6 100644 (file)
@@ -16,7 +16,6 @@
        <rule ref="Generic.NamingConventions.UpperCaseConstantName" />
        <rule ref="Generic.PHP.CharacterBeforePHPOpeningTag" />
        <rule ref="Generic.PHP.DisallowShortOpenTag" />
-       <rule ref="Generic.PHP.ForbiddenFunctions" />
        <rule ref="Generic.PHP.LowerCaseConstant" />
        <rule ref="Generic.WhiteSpace.DisallowSpaceIndent" />
        <rule ref="Squiz.Arrays.ArrayBracketSpacing" />
@@ -29,6 +28,7 @@
        <rule ref="Squiz.ControlStructures.ForLoopDeclaration" />
        <rule ref="Squiz.ControlStructures.LowercaseDeclaration" />
        <rule ref="Squiz.Operators.ValidLogicalOperators" />
+       <rule ref="Squiz.PHP.ForbiddenFunctions" />
        <rule ref="WCF.Classes.ClassFileName" />
        <rule ref="WCF.ControlStructures.ControlSignature" />
        <rule ref="WCF.WhiteSpace.SuperfluousWhitespace" />