Permalink
Browse files

Relax increment/decrement rule.

  • Loading branch information...
1 parent 9dc3b8c commit dd09693673fe3b3e8b546f27f31a355da74602eb @eddieajau eddieajau committed Dec 17, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 ruleset.xml
View
4 ruleset.xml
@@ -46,7 +46,9 @@
<rule ref="Generic.PHP.DeprecatedFunctions"/>
<rule ref="Generic.PHP.ForbiddenFunctions"/>
- <rule ref="Squiz.Operators.IncrementDecrementUsage"/>
+ <rule ref="Squiz.Operators.IncrementDecrementUsage">
+ <exclude name="Squiz.Operators.IncrementDecrementUsage.processAssignment"/>
+ </rule>
<rule ref="Squiz.WhiteSpace.ScopeClosingBrace"/>
<rule ref="Squiz.Scope.StaticThisUsage"/>

0 comments on commit dd09693

Please sign in to comment.