Skip to content

Commit

Permalink
chore(ci): loosen codeclimate config a bit
Browse files Browse the repository at this point in the history
Signed-off-by: Fery Wardiyanto <[email protected]>
  • Loading branch information
feryardiant committed Jan 12, 2025
1 parent 41ae3fc commit 1bb63a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ plugins:
config:
rulesets: workbench/phpmd.xml

exclude_patterns:
- database/**
- tests/**
- workbench/**

ratings:
paths:
- src/**.php
4 changes: 3 additions & 1 deletion workbench/phpmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
<description>Custom rules for creasico projects</description>

<rule ref="rulesets/cleancode.xml" />
<rule ref="rulesets/cleancode.xml">
<exclude name="StaticAccess" />
</rule>
<rule ref="rulesets/codesize.xml" />
<rule ref="rulesets/controversial.xml" />
<rule ref="rulesets/naming.xml">
Expand Down

0 comments on commit 1bb63a3

Please sign in to comment.