-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OXDEV-7732: Increase deptrac version; Add phpmd folder;
- Loading branch information
1 parent
4f7fb92
commit ab06d14
Showing
3 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Exclude Static Access Rule" | ||
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" | ||
rule="Tests/PhpMd/standard.xml"> | ||
<description> | ||
Exclude Static Access Rule | ||
</description> | ||
<rule ref="rulesets/codesize.xml"> | ||
<exclude name="ExcessiveParameterList" /> | ||
<exclude name="TooManyPublicMethods" /> | ||
<exclude name="CyclomaticComplexity" /> | ||
<exclude name="NPathComplexity" /> | ||
</rule> | ||
<rule ref="rulesets/design.xml"> | ||
<exclude name="NumberOfChildren" /> | ||
<exclude name="CouplingBetweenObjects" /> | ||
</rule> | ||
<rule ref="rulesets/naming.xml"> | ||
<exclude name="ShortMethodName" /> | ||
<exclude name="ShortVariable" /> | ||
<exclude name="LongVariable" /> | ||
</rule> | ||
<rule ref="rulesets/unusedcode.xml" /> | ||
<rule ref="rulesets/cleancode.xml"> | ||
<exclude name="StaticAccess" /> | ||
<exclude name="BooleanArgumentFlag" /> | ||
</rule> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Standard PHPMD rule set for Oxid" | ||
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"> | ||
<description> | ||
Standard OXID Ruleset | ||
</description> | ||
|
||
<rule ref="rulesets/codesize.xml" /> | ||
<rule ref="rulesets/design.xml" /> | ||
<rule ref="rulesets/naming.xml" /> | ||
<rule ref="rulesets/unusedcode.xml" /> | ||
<rule ref="rulesets/cleancode.xml" /> | ||
</ruleset> |