Skip to content

Commit

Permalink
Configured PHPMD
Browse files Browse the repository at this point in the history
  • Loading branch information
jkphl committed May 16, 2016
1 parent 94019c4 commit 276a813
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ engines:
enabled: true
phpmd:
enabled: true
config:
file_extensions: "php"
rulesets: "cleancode,codesize,controversial,design,naming,unusedcode,phpmd.xml"
checks:
Controversial/CamelCasePropertyName:
enabled: true
Expand Down
3 changes: 1 addition & 2 deletions phpmd.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<ruleset name="PHPMD rule set for apparat modules"
xmlns="http://pmd.sf.net/ruleset/1.0.0"
<ruleset name="PHPMD rule set for apparat modules" 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">
Expand Down

0 comments on commit 276a813

Please sign in to comment.