Created
September 19, 2017 17:57
-
-
Save PHLAK/a425c5431c8a7fe55fab6599b369873f to your computer and use it in GitHub Desktop.
PHPMD ruleset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<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" | |
> | |
<description> | |
<rule ref="rulesets/cleancode.xml"> | |
<exclude name="staticaccess" /> | |
</rule> | |
<rule ref="rulesets/codesize.xml" /> | |
<rule ref="rulesets/controversial.xml" /> | |
<rule ref="rulesets/design.xml" /> | |
<rule ref="rulesets/naming.xml" /> | |
<rule ref="rulesets/unusedcode.xml" /> | |
</description> | |
</ruleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment