angelxmoreno/cakephp-linked-entities

View on GitHub
phpmd.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<ruleset name="Custom rule set for AXM Projects"
         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>
        AXM ProjectsOM-Payments AddOn
    </description>

    <!-- Import the entire clean code rule set -->
    <rule ref="rulesets/cleancode.xml">
        <exclude name="StaticAccess"/>
    </rule>
    <!-- Import the entire code size rule set -->
    <rule ref="rulesets/codesize.xml"/>
    <!-- Import the entire controversial rule set -->
    <rule ref="rulesets/controversial.xml">
        <exclude name="CamelCasePropertyName"/>
        <exclude name="CamelCaseParameterName"/>
        <exclude name="CamelCaseVariableName"/>
    </rule>
    <!-- Import the entire design code rule set -->
    <rule ref="rulesets/design.xml"/>
    <!-- Import the entire naming rule set -->
    <rule ref="rulesets/naming.xml"/>
    <!-- Import the entire unused code rule set -->
    <rule ref="rulesets/unusedcode.xml"/>
</ruleset>