agriget/utils/gitlab-ci/phpmd-ruleset.xml

21 lines
619 B
XML
Raw Normal View History

2019-03-22 22:17:29 +08:00
<ruleset name="basic-rules"
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</description>
<!-- phpmd author is a bit weird i guess -->
<!-- <rule ref="rulesets/cleancode.xml">
<exclude name="BooleanArgumentFlag" />
<exclude name="ElseExpression" />
</rule> -->
<rule ref="rulesets/unusedcode.xml" />
</ruleset>