summaryrefslogtreecommitdiff
path: root/utils/gitlab-ci/phpmd-ruleset.xml
blob: d2c010fbc807d7b1fa1fdd29cec19c626f57d8f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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>