diff options
Diffstat (limited to 'www/wiki/vendor/param-processor/param-processor/phpmd.xml')
-rw-r--r-- | www/wiki/vendor/param-processor/param-processor/phpmd.xml | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/www/wiki/vendor/param-processor/param-processor/phpmd.xml b/www/wiki/vendor/param-processor/param-processor/phpmd.xml index 95a85368..66bfad24 100644 --- a/www/wiki/vendor/param-processor/param-processor/phpmd.xml +++ b/www/wiki/vendor/param-processor/param-processor/phpmd.xml @@ -4,19 +4,9 @@ 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"> - <rule ref="rulesets/codesize.xml"> - <exclude name="TooManyMethods" /> - <exclude name="ExcessiveClassComplexity" /> - </rule> - <rule ref="rulesets/codesize.xml/TooManyMethods"> - <properties> - <property name="maxmethods" value="20" /> - </properties> - </rule> - - <!-- todo: enable the camel case method rule for non-tests --> <rule ref="rulesets/controversial.xml"> <exclude name="CamelCaseMethodName" /> + <exclude name="Superglobals" /> </rule> <rule ref="rulesets/design.xml" /> @@ -25,8 +15,4 @@ <exclude name="ShortVariable" /> <exclude name="LongVariable" /> </rule> - - <rule ref="rulesets/unusedcode.xml"> - <exclude name="UnusedLocalVariable" /> - </rule> </ruleset>
\ No newline at end of file |