Skip to content

Commit 4457275

Browse files
committed
Include Cdn77.NamingConventions.ValidVariableName in ruleset
1 parent 821b348 commit 4457275

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Cdn77/ruleset.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamType"/>
2525

2626
<!-- $_ variables are used to tell e.g. psalm that the variable is intentionally unused. -->
27-
<exclude name="Squiz.NamingConventions.ValidVariableName.NotCamelCaps" />
27+
<!-- replaced by Cdn77.NamingConventions.ValidVariableName -->
28+
<exclude name="Squiz.NamingConventions.ValidVariableName" />
2829

2930
<!-- replaced by SlevomatCodingStandard.Commenting.RequireOneLineDocComment -->
3031
<exclude name="SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment"/>
@@ -35,6 +36,8 @@
3536
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" />
3637
</rule>
3738

39+
<rule ref="Cdn77.NamingConventions.ValidVariableName"/>
40+
3841
<rule ref="SlevomatCodingStandard.Arrays.MultiLineArrayEndBracketPlacement"/>
3942
<rule ref="SlevomatCodingStandard.Classes.ClassStructure">
4043
<properties>

0 commit comments

Comments
 (0)