Skip to content

Commit

Permalink
Qual: Optimize PHP Code sniffer rules
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 28, 2011
1 parent 3686bb6 commit b16060e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion dev/codesniffer/ruleset.xml
Expand Up @@ -33,7 +33,7 @@
<!-- Lines can be 85 chars long, but never show errors -->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="320" />
<property name="lineLimit" value="1000" />
<property name="absoluteLineLimit" value="0" />
</properties>
</rule>
Expand Down Expand Up @@ -169,8 +169,14 @@
<rule ref="PEAR.Functions.ValidDefaultValue" />

<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.NotCamelCaps">
<severity>0</severity>
</rule>

<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCaptial">
<severity>0</severity>
Expand Down
2 changes: 1 addition & 1 deletion dev/skeletons/skeleton_class.class.php
Expand Up @@ -31,7 +31,7 @@


/**
* \class Skeleton_class
* \class Skeleton_Class
* \brief Put here description of your class
* \remarks Put here some comments
*/
Expand Down

0 comments on commit b16060e

Please sign in to comment.