phpmd.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0"?>
  2. <ruleset
  3. name="friendsofphp/php-cs-fixer"
  4. xmlns="http://pmd.sf.net/ruleset/1.0.0"
  5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  6. xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
  7. xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"
  8. >
  9. <rule ref="rulesets/controversial.xml/CamelCaseClassName" />
  10. <rule ref="rulesets/controversial.xml/CamelCaseMethodName" />
  11. <rule ref="rulesets/controversial.xml/CamelCaseParameterName" />
  12. <rule ref="rulesets/controversial.xml/CamelCasePropertyName" />
  13. <rule ref="rulesets/controversial.xml/CamelCaseVariableName" />
  14. <rule ref="rulesets/design.xml/DevelopmentCodeFragment" />
  15. <rule ref="rulesets/design.xml/EvalExpression" />
  16. <rule ref="rulesets/design.xml/ExitExpression" />
  17. <rule ref="rulesets/design.xml/GotoStatement" />
  18. <rule ref="rulesets/naming.xml/ConstantNamingConventions" />
  19. <rule ref="rulesets/cleancode.xml/IfStatementAssignment" />
  20. <rule ref="../../../../../mi-schi/phpmd-extension/rulesets/cleancode.xml/DataStructureMethods" />
  21. <rule ref="../../../../../mi-schi/phpmd-extension/rulesets/cleancode.xml/SwitchStatement" />
  22. <rule ref="../../../../../mi-schi/phpmd-extension/rulesets/naming.xml/CommentDescription">
  23. <properties>
  24. <property name="percent" value="70" />
  25. </properties>
  26. </rule>
  27. </ruleset>