Skip to content

Commit f623f63

Browse files
committed
:octocat:
1 parent 6de85c4 commit f623f63

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

phpmd.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="chillerlan/bbcode PMD ruleset"
3+
xmlns="http://pmd.sf.net/ruleset/1.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
6+
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
7+
<description>chillerlan/bbcode PMD ruleset</description>
8+
<exclude-pattern>*/examples/*</exclude-pattern>
9+
<exclude-pattern>*/tests/*</exclude-pattern>
10+
<rule ref="rulesets/cleancode.xml"/>
11+
<rule ref="rulesets/codesize.xml/CyclomaticComplexity">
12+
<priority>1</priority>
13+
<properties>
14+
<property name="maximum" value="100" />
15+
</properties>
16+
</rule>
17+
<rule ref="rulesets/controversial.xml">
18+
<exclude name="CamelCaseMethodName"/>
19+
<exclude name="CamelCasePropertyName"/>
20+
<exclude name="CamelCaseParameterName"/>
21+
<exclude name="CamelCaseVariableName"/>
22+
</rule>
23+
<rule ref="rulesets/design.xml"/>
24+
<rule ref="rulesets/naming.xml">
25+
<exclude name="LongVariable"/>
26+
<exclude name="ShortVariable"/>
27+
</rule>
28+
<rule ref="rulesets/unusedcode.xml"/>
29+
</ruleset>

0 commit comments

Comments
 (0)