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 78
78
</rule >
79
79
80
80
<!--
81
- Generic and common sense sanity.
81
+ Generic
82
82
-->
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" />
93
109
94
110
</ruleset >
You can’t perform that action at this time.
0 commit comments