Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/.codeclimate.yml

110 lines
2.4 KiB

version: "2"
7 years ago
checks:
7 years ago
argument-count:
enabled: false
complex-logic:
enabled: false
7 years ago
file-lines:
enabled: false
method-complexity:
enabled: true
config:
threshold: 20
7 years ago
method-count:
enabled: false
method-lines:
7 years ago
enabled: false
7 years ago
nested-control-flow:
config:
threshold: 20
return-statements:
enabled: false
plugins:
phan:
enabled: true
config:
file_extensions: "php"
fixme:
enabled: true
config:
strings:
- FIXME
- BUG
phpcodesniffer:
enabled: true
config:
standard: "Symfony2"
file_extensions: "php"
8 years ago
checks:
PSR1 Classes ClassDeclaration MissingNamespace:
enabled: false
8 years ago
PSR1 Files SideEffects FoundWithSymbols:
enabled: false
Squiz Strings ConcatenationSpacing PaddingFound:
enabled: false
8 years ago
phpmd:
7 years ago
enabled: true
config:
file_extensions: "php"
rulesets: "ruleset.xml"
7 years ago
sonar-php:
7 years ago
enabled: false
7 years ago
checks:
php:S1192:
enabled: false
duplication:
7 years ago
enabled: false
exclude_patterns:
- assets/*
- bin/*
- config/*
- public/main/admin/db.php
- public/main/admin/ldap_synchro.php
- public/main/chat/emoji_strategy.php
- public/main/document/Wami.swf
- public/main/fonts/
- public/main/inc/ajax/Wami.swf
- public/main/inc/lib/browser/
- public/main/inc/lib/internationalization_database/
- public/main/inc/lib/javascript/
- public/main/inc/lib/kses-0.2.2/
- public/main/inc/lib/mimetex/
- public/main/inc/lib/nanogong/
- public/main/inc/lib/nusoap/
- public/main/inc/lib/opengraph/*
- public/main/inc/lib/ppt2png/
- public/main/inc/lib/pear/
- public/main/inc/lib/svg-edit/
- public/main/inc/lib/swfobject/
- public/main/inc/lib/wami-recorder/
- public/main/inc/lib/xajax/
- public/main/lp/packaging/
- public/main/template/
- public/main/lang/
- public/libs/
- public/img/
- public/plugin/buycourses/src/Culqi/
- public/plugin/buycourses/src/Requests/
- public/plugin/buycourses/src/Requests.php
- public/plugin/buycourses/src/paypalfunctions.php
- public/plugin/vchamilo/cli/
- public/plugin/pens/lib
- public/plugin/bbb/lib/bbb_api.php
- public/plugin/ims_lti/OAuthSimple.php
- public/plugin/sepe/src/wsse/
- public/plugin/test2pdf/class/
- public/plugin/jcapture/lib/
- public/plugin/jcapture/src/
- var/cache/
- var/log/
- tests/
- vendor/
- web/