No Description

phpmd.xml.dist 1.2KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <ruleset name="PHPWord PHP Mess Detector Rule Set"
  3. xmlns="http://pmd.sf.net/ruleset/1.0.0"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
  6. xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
  7. <rule ref="rulesets/naming.xml"/>
  8. <rule ref="rulesets/design.xml/ExitExpression" />
  9. <rule ref="rulesets/design.xml/EvalExpression" />
  10. <rule ref="rulesets/design.xml/GotoStatement" />
  11. <rule ref="rulesets/design.xml/DepthOfInheritance" />
  12. <rule ref="rulesets/design.xml/CouplingBetweenObjects">
  13. <!-- AbstractContainer needs more coupling (default: 13) -->
  14. <properties>
  15. <property name="minimum" value="20" />
  16. </properties>
  17. </rule>
  18. <rule ref="rulesets/design.xml/NumberOfChildren">
  19. <!-- AbstractStyle needs more children (default: 15) -->
  20. <properties>
  21. <property name="minimum" value="30" />
  22. </properties>
  23. </rule>
  24. <rule ref="rulesets/unusedcode.xml" />
  25. <rule ref="rulesets/controversial.xml" />
  26. </ruleset>