Qual: Optimize PHP Code sniffer rules

This commit is contained in:
Laurent Destailleur 2011-08-28 17:40:51 +00:00
parent 3686bb6464
commit b16060e0cd
2 changed files with 8 additions and 2 deletions

View File

@ -33,7 +33,7 @@
<!-- Lines can be 85 chars long, but never show errors --> <!-- Lines can be 85 chars long, but never show errors -->
<rule ref="Generic.Files.LineLength"> <rule ref="Generic.Files.LineLength">
<properties> <properties>
<property name="lineLimit" value="320" /> <property name="lineLimit" value="1000" />
<property name="absoluteLineLimit" value="0" /> <property name="absoluteLineLimit" value="0" />
</properties> </properties>
</rule> </rule>
@ -169,8 +169,14 @@
<rule ref="PEAR.Functions.ValidDefaultValue" /> <rule ref="PEAR.Functions.ValidDefaultValue" />
<rule ref="PEAR.NamingConventions.ValidClassName" /> <rule ref="PEAR.NamingConventions.ValidClassName" />
<rule ref="PEAR.NamingConventions.ValidClassName.StartWithCaptial">
<severity>0</severity>
</rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName" /> <rule ref="PEAR.NamingConventions.ValidFunctionName" />
<rule ref="PEAR.NamingConventions.ValidFunctionName.NotCamelCaps">
<severity>0</severity>
</rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCaptial"> <rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCaptial">
<severity>0</severity> <severity>0</severity>

View File

@ -31,7 +31,7 @@
/** /**
* \class Skeleton_class * \class Skeleton_Class
* \brief Put here description of your class * \brief Put here description of your class
* \remarks Put here some comments * \remarks Put here some comments
*/ */