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 d0abe54 commit 94019c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ engines:
enabled: true
CleanCode/StaticAccess:
enabled: false
Codesize/TooManyMethods:
CodeSize/TooManyMethods:
enabled: true
maxmethods: 25
Codesize/TooManyPublicMethods:
CodeSize/TooManyPublicMethods:
enabled: true
maxmethods: 25
phpcodesniffer:
Expand Down
6 changes: 0 additions & 6 deletions phpmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
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>Custom rules for checking apparat modules</description>
<rule ref="rulesets/cleancode.xml"/>
<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"/>
<rule ref="rulesets/codesize.xml/TooManyMethods">
<properties>
<property name="maxmethods" value="25" />
Expand Down

0 comments on commit 94019c4

Please sign in to comment.