1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
php-e107/.codeclimate.yml
Nick Liu 2e0664dad4
Moved placeholder core_image.phar to e107_system
Also made naming of "core_image.phar" consistent everywhere
2020-05-11 15:34:16 -05:00

67 lines
1.4 KiB
YAML

---
version: "2"
plugins:
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"
exclude_patterns:
- "config/"
- "db/"
- "dist/"
- "features/"
- "**/node_modules/"
- "script/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/vendor/"
- "**/*.d.ts"
- "e107_plugins/log/js/awesomechart.js"
- "e107_core/**/*.sc"
- "e107_docs/**/*"
- "e107_images/**/*"
- "e107_handlers/hybridauth/**/*"
- "e107_handlers/jsshrink/**/*"
- "e107_handlers/phpmailer/**/*"
- "e107_handlers/phpthumb/**/*"
- "e107_handlers/xmlrpc/**/*"
- "e107_system/core_image.phar"
- "e107_web/**/*"
- "e107_tests/tests/**/*"
# Ignore symlinks that are allowed to be broken due to local configurations
- "e107_tests/lib/ci/salt/pillars/config.sls"
- "e107_tests/lib/ci/salt/pillars/config-local.sls"