mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
5e9b3bee14
Error message from Code Climate: > Exception: The given file "/code/e107_tests/lib/ci/salt/pillars/config-local.sls" does not exist. in /usr/src/app/vendor/pdepend/pdepend/src/main/php/PDepend/Engine.php > #0 /usr/src/app/vendor/phpmd/phpmd/src/main/php/PHPMD/ParserFactory.php(129): PDepend\Engine->addFile('/code/e107_test...') > #1 /usr/src/app/vendor/phpmd/phpmd/src/main/php/PHPMD/ParserFactory.php(109): PHPMD\ParserFactory->initInput(Object(PDepend\Engine), Object(PHPMD\PHPMD)) > #2 /usr/src/app/vendor/phpmd/phpmd/src/main/php/PHPMD/ParserFactory.php(76): PHPMD\ParserFactory->init(Object(PDepend\Engine), Object(PHPMD\PHPMD)) > #3 /usr/src/app/vendor/phpmd/phpmd/src/main/php/PHPMD/PHPMD.php(215): PHPMD\ParserFactory->create(Object(PHPMD\PHPMD)) > #4 /usr/src/app/Runner.php(116): PHPMD\PHPMD->processFiles('/code/e107_test...', 'cleancode,unuse...', Array, Object(PHPMD\RuleSetFactory)) > #5 /usr/src/app/vendor/barracudanetworks/forkdaemon-php/fork_daemon.php(1852): CodeClimate\PHPMD\Runner->run(Array) > #6 /usr/src/app/vendor/barracudanetworks/forkdaemon-php/fork_daemon.php(1772): fork_daemon->invoke_callback(Array, Array, false) > #7 /usr/src/app/vendor/barracudanetworks/forkdaemon-php/fork_daemon.php(1673): fork_daemon->fork_work_unit(Array, '', -1) > #8 /usr/src/app/vendor/barracudanetworks/forkdaemon-php/fork_daemon.php(1445): fork_daemon->process_work_unit(-1) > #9 /usr/src/app/Runner.php(31): fork_daemon->process_work(false) > #10 /usr/src/app/engine.php(35): CodeClimate\PHPMD\Runner->queueDirectory('/code') > #11 {main}
67 lines
1.4 KiB
YAML
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_admin/core_image.php"
|
|
- "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_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"
|