Skip to content

Commit

Permalink
Update PHPMD with new ignores and rules for short class names. #561
Browse files Browse the repository at this point in the history
  • Loading branch information
Austinb committed Dec 19, 2020
1 parent 932bd68 commit 9fb2684
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/config/phpmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<exclude name="ShortVariable"/>
<exclude name="LongVariable"/>
<exclude name="ShortMethodName"/>
<exclude name="ShortClassName"/>
</rule>
<rule ref="rulesets/naming.xml/ShortVariable">
<properties>
Expand All @@ -33,7 +34,11 @@
<property name="minimum" value="2" />
</properties>
</rule>

<rule ref="rulesets/naming.xml/ShortClassName">
<properties>
<property name="minimum" value="2" />
</properties>
</rule>
<rule ref="rulesets/codesize.xml">
<exclude name="TooManyMethods"/>
<exclude name="TooManyPublicMethods"/>
Expand Down

0 comments on commit 9fb2684

Please sign in to comment.