PHP Classes

File: build/phpmd.xml

Recommend this page to a friend!
  Classes of Reinder Reinders  >  PHP Binary Flags  >  build/phpmd.xml  >  Download  
File: build/phpmd.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Binary Flags
Manage a group of boolean flags using integers
Author: By
Last change:
Date: 4 years ago
Size: 1,827 bytes


Class file image Download
<?xml version="1.0"?> <ruleset name="My first PHPMD rule set" xmlns="" xmlns:xsi="" xsi:schemaLocation="" xsi:noNamespaceSchemaLocation=""> <description> My custom rule set that checks my code... </description> <!-- We explicitly ignore this rule as we do access $_POST, $_GET, $_SESSION and $_FILES --> <!-- <rule ref="rulesets/controversial.xml/Superglobals" /> --> <rule ref="rulesets/controversial.xml/CamelCaseClassName" /> <rule ref="rulesets/controversial.xml/CamelCasePropertyName" /> <rule ref="rulesets/controversial.xml/CamelCaseMethodName" /> <rule ref="rulesets/controversial.xml/CamelCaseParameterName" /> <rule ref="rulesets/controversial.xml/CamelCaseVariableName" /> <rule ref="rulesets/naming.xml" /> <rule ref="rulesets/design.xml" /> <!-- Import the entire cyclomatic complexity rule --> <rule ref="rulesets/codesize.xml/CyclomaticComplexity"> <priority>1</priority> <properties> <property name="reportLevel" value="20" /> </properties> </rule> <!--<rule ref="rulesets/codesize.xml/NPathComplexity" />--> <rule ref="rulesets/codesize.xml/ExcessiveMethodLength" /> <rule ref="rulesets/codesize.xml/ExcessiveClassLength" /> <rule ref="rulesets/codesize.xml/ExcessiveParameterList" /> <rule ref="rulesets/codesize.xml/ExcessivePublicCount" /> <rule ref="rulesets/codesize.xml/TooManyFields" /> <rule ref="rulesets/codesize.xml/TooManyMethods" /> <rule ref="rulesets/codesize.xml/ExcessiveClassComplexity" /> </ruleset>