phpmd.xml 614 B

12345678910
  1. <?xml version="1.0"?>
  2. <ruleset name="My first 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">
  3. <description> My custom rule set that checks my code... </description>
  4. <!-- Import the entire unused code rule set -->
  5. <rule ref="rulesets/unusedcode.xml" />
  6. <!-- Import the entire cyclomatic complexity rule -->
  7. <rule ref="rulesets/codesize.xml/CyclomaticComplexity" />
  8. </ruleset>