Skip to content

Instantly share code, notes, and snippets.

@sandermangel
Created August 24, 2017 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sandermangel/16fc6223c4434ad3e67af551bcc5d267 to your computer and use it in GitHub Desktop.
Save sandermangel/16fc6223c4434ad3e67af551bcc5d267 to your computer and use it in GitHub Desktop.
Byte - Better Magento code through a disciplined approach - phpmd configuration
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="PHP MD 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/>
<rule ref="rulesets/codesize.xml"/>
<rule ref="rulesets/design.xml">
<exclude name="CouplingBetweenObjects" />
</rule>
<rule ref="rulesets/naming.xml"/>
<rule ref="rulesets/cleancode.xml"/>
<rule ref="rulesets/unusedcode.xml">
<exclude name="UnusedFormalParameter" />
</rule>
</ruleset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment