<?xml version="1.0"?>
<ruleset name="Strictly necessary PHPMD rule set"
	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>
		Performs the DevelopmentCodeFragment check before the code can be merged into the main branch and then deployed to production
	</description>

	<!-- Ignored directories -->
	<exclude-pattern>\.git</exclude-pattern>
	<exclude-pattern>vendor</exclude-pattern>
	<exclude-pattern>tests</exclude-pattern>
	<exclude-pattern>application/controllers/api/v1</exclude-pattern>
	<exclude-pattern>application/extensions</exclude-pattern>
	<exclude-pattern>addons</exclude-pattern>

	<!-- Import the DevelopmentCodeFragment rule from the design rule set -->
	<rule ref="rulesets/design.xml/DevelopmentCodeFragment" />
</ruleset>

