Skip to content

Commit

Permalink
add missing rulesetmd.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Ramalho committed May 14, 2019
1 parent 0693b4d commit 770270c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Standards/Pimcore5/rulesetmd.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="PHPMD rule set">
<description>My custom rule set that checks my code...</description>
<rule ref="rulesets/codesize.xml" />
<rule ref="rulesets/controversial.xml" />
<rule ref="rulesets/design.xml" />
<rule ref="rulesets/naming.xml">
<exclude name="ShortVariable" />
<exclude name="ShortMethodName" />
</rule>
<rule ref="rulesets/naming.xml/ShortVariable">
<properties>
<property name="exceptions" description="Comma-separated list of exceptions" value="id,em" />
</properties>
</rule>
<rule ref="rulesets/naming.xml/ShortMethodName">
<properties>
<property name="exceptions" description="Comma-separated list of exceptions" value="up" />
</properties>
</rule>
</ruleset>

0 comments on commit 770270c

Please sign in to comment.