forked from coding/coding-cli
- Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpmd.xml
28 lines (24 loc) · 985 Bytes
/
phpmd.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8" ?>
<pmd>
<ruleref="rulesets/cleancode.xml">
<excludename="StaticAccess" />
</rule>
<ruleref="rulesets/codesize.xml" />
<ruleref="rulesets/controversial.xml" />
<ruleref="rulesets/design.xml" />
<ruleref="rulesets/naming.xml">
<excludename="ShortVariable" />
</rule>
<ruleref="rulesets/naming.xml/ShortVariable"
since="0.2"
message="Avoid variables with short names like {0}. Configured minimum length is {1}."
class="PHPMD\Rule\Naming\ShortVariable"
externalInfoUrl="http://phpmd.org/rules/naming.html#shortvariable">
<priority>3</priority>
<properties>
<propertyname="minimum"description="Minimum length for a variable, property or parameter name"value="3"/>
<propertyname="exceptions"value="id,q,w,i,j,k,v,e,f,fp" />
</properties>
</rule>
<ruleref="rulesets/unusedcode.xml" />
</pmd>