Skip to content

Commit 1bb63a3

Browse files
committed
chore(ci): loosen codeclimate config a bit
Signed-off-by: Fery Wardiyanto <[email protected]>
1 parent 41ae3fc commit 1bb63a3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.codeclimate.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ plugins:
1717
config:
1818
rulesets: workbench/phpmd.xml
1919

20+
exclude_patterns:
21+
- database/**
22+
- tests/**
23+
- workbench/**
24+
2025
ratings:
2126
paths:
2227
- src/**.php

workbench/phpmd.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
66
<description>Custom rules for creasico projects</description>
77

8-
<rule ref="rulesets/cleancode.xml" />
8+
<rule ref="rulesets/cleancode.xml">
9+
<exclude name="StaticAccess" />
10+
</rule>
911
<rule ref="rulesets/codesize.xml" />
1012
<rule ref="rulesets/controversial.xml" />
1113
<rule ref="rulesets/naming.xml">

0 commit comments

Comments
 (0)