1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00
php-e107/.codeclimate.yml

56 lines
1.1 KiB
YAML

---
engines:
csslint:
enabled: false
duplication:
enabled: true
checks:
Identical code:
enabled: false
Design/TooManyPublicMethods:
enabled: false
config:
languages:
- javascript
- php
eslint:
enabled: false
fixme:
enabled: false
phpmd:
enabled: true
checks:
Identical code:
enabled: false
CleanCode/StaticAccess:
enabled: false
UnusedFormalParameter:
enabled: false
Design/TooManyFields:
enabled: false
CleanCode/BooleanArgumentFlag:
enabled: false
CleanCode/ElseExpression:
enabled: false
config:
file_extensions: "php"
rulesets: "cleancode,unusedcode,codesize"
ratings:
paths:
- "**.css"
- "**.js"
- "**.php"
exclude_paths:
- e107_admin/core_image.php
- e107_plugins/log/js/awesomechart.js
- e107_docs/**/*
- e107_images/**/*
- e107_handlers/hybridauth/**/*
- e107_handlers/jsshrink/**/*
- e107_handlers/phpmailer/**/*
- e107_handlers/phpthumb/**/*
- e107_handlers/xmlrpc/**/*
- e107_web/**/*