forked from vufind-org/vufindcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpmd.xml
More file actions
15 lines (15 loc) · 760 Bytes
/
phpmd.xml
File metadata and controls
15 lines (15 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0"?>
<ruleset name="PHPMD rules for VuFind" xmlns="http://pmd.sf.net/ruleset/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" xsi:noNamespaceSchemaLocation=" http://pmd.sf.net/ruleset_xml_schema.xsd">
<description>PHPMD rules for VuFind</description>
<rule ref="rulesets/codesize.xml" />
<!-- <rule ref="rulesets/controversial.xml" /> -->
<rule ref="rulesets/design.xml">
<exclude name="EvalExpression" />
</rule>
<rule ref="rulesets/naming.xml">
<exclude name="LongVariable" />
<exclude name="ShortVariable" />
<exclude name="ShortMethodName" />
</rule>
<rule ref="rulesets/unusedcode.xml" />
</ruleset>