File tree Expand file tree Collapse file tree 1 file changed +27
-11
lines changed Expand file tree Collapse file tree 1 file changed +27
-11
lines changed Original file line number Diff line number Diff line change 7878 </rule >
7979
8080 <!--
81- Generic and common sense sanity.
81+ Generic
8282 -->
83- <rule ref =" Squiz.PHP.Eval" />
84-
85- <!--
86- No commented-out code, please. Let version control do its job.
87- -->
88- <rule ref =" Squiz.PHP.CommentedOutCode" >
89- <properties >
90- <property name =" maxPercentage" value =" 45" />
91- </properties >
92- </rule >
83+ <rule ref =" Generic.Metrics.CyclomaticComplexity" >
84+ <properties >
85+ <property name =" absoluteComplexity" value =" 50" />
86+ </properties >
87+ </rule >
88+ <rule ref =" Generic.Metrics.NestingLevel" >
89+ <properties >
90+ <property name =" nestingLevel" value =" 2" />
91+ <property name =" absoluteNestingLevel" value =" 4" />
92+ </properties >
93+ </rule >
94+ <rule ref =" Generic.NamingConventions.ConstructorName" />
95+ <rule ref =" Generic.PHP.CharacterBeforePHPOpeningTag" />
96+ <rule ref =" Generic.PHP.LowerCaseConstant" />
97+ <rule ref =" Squiz.Classes.LowercaseClassKeywords" />
98+ <rule ref =" Squiz.PHP.CommentedOutCode" >
99+ <properties >
100+ <property name =" maxPercentage" value =" 45" />
101+ </properties >
102+ </rule >
103+ <rule ref =" Squiz.PHP.Eval" />
104+ <rule ref =" Squiz.PHP.InnerFunctions" />
105+ <rule ref =" Squiz.PHP.LowercasePHPFunctions" />
106+ <rule ref =" Squiz.PHP.NonExecutableCode" />
107+ <rule ref =" Squiz.Scope.MemberVarScope" />
108+ <rule ref =" Squiz.Scope.StaticThisUsage" />
93109
94110</ruleset >
You can’t perform that action at this time.
0 commit comments