Skip to content

Commit b238080

Browse files
authored
Merge pull request #22 from leviy/remove-metrics-sniffs
Remove cyclomatic complexity and nesting level sniffs
2 parents c07d583 + 0f513bf commit b238080

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/LEVIY/ruleset.xml

-12
Original file line numberDiff line numberDiff line change
@@ -110,18 +110,6 @@
110110
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
111111
<rule ref="Generic.Formatting.SpaceAfterCast"/>
112112
<rule ref="Generic.Functions.CallTimePassByReference"/>
113-
<rule ref="Generic.Metrics.CyclomaticComplexity">
114-
<properties>
115-
<property name="complexity" value="6"/>
116-
<property name="absoluteComplexity" value="8"/>
117-
</properties>
118-
</rule>
119-
<rule ref="Generic.Metrics.NestingLevel">
120-
<properties>
121-
<property name="nestingLevel" value="4"/>
122-
<property name="absoluteNestingLevel" value="6"/>
123-
</properties>
124-
</rule>
125113
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
126114
<rule ref="Generic.PHP.LowerCaseConstant"/>
127115
<rule ref="Generic.PHP.Syntax"/>

0 commit comments

Comments
 (0)