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.
102 lines
2.2 KiB
102 lines
2.2 KiB
version: "2"
|
|
checks:
|
|
argument-count:
|
|
enabled: false
|
|
complex-logic:
|
|
enabled: false
|
|
file-lines:
|
|
enabled: false
|
|
method-complexity:
|
|
enabled: false
|
|
config:
|
|
threshold: 20
|
|
method-count:
|
|
enabled: false
|
|
method-lines:
|
|
enabled: false
|
|
nested-control-flow:
|
|
config:
|
|
threshold: 20
|
|
return-statements:
|
|
enabled: false
|
|
|
|
plugins:
|
|
phan:
|
|
enabled: false
|
|
config:
|
|
file_extensions: "php"
|
|
|
|
fixme:
|
|
enabled: true
|
|
config:
|
|
strings:
|
|
- FIXME
|
|
- BUG
|
|
|
|
phpcodesniffer:
|
|
enabled: true
|
|
config:
|
|
standard: "Symfony2"
|
|
file_extensions: "php"
|
|
checks:
|
|
PSR1 Classes ClassDeclaration MissingNamespace:
|
|
enabled: false
|
|
PSR1 Files SideEffects FoundWithSymbols:
|
|
enabled: false
|
|
Squiz Strings ConcatenationSpacing PaddingFound:
|
|
enabled: false
|
|
Symfony2 Commenting FunctionComment MissingReturn:
|
|
enabled: false
|
|
Symfony2 Commenting FunctionComment MissingParamTag:
|
|
enabled: false
|
|
|
|
phpmd:
|
|
enabled: true
|
|
config:
|
|
file_extensions: "php"
|
|
rulesets: "ruleset.xml"
|
|
|
|
sonar-php:
|
|
enabled: false
|
|
checks:
|
|
php:S1192:
|
|
enabled: false
|
|
|
|
duplication:
|
|
enabled: false
|
|
|
|
exclude_patterns:
|
|
- assets/*
|
|
- bin/*
|
|
- config/*
|
|
- public/main/admin/ldap_synchro.php
|
|
- public/main/chat/emoji_strategy.php
|
|
- public/main/inc/lib/browser/
|
|
- public/main/inc/lib/javascript/
|
|
- public/main/inc/lib/kses-0.2.2/
|
|
- public/main/inc/lib/nusoap/
|
|
- public/main/inc/lib/ppt2png/
|
|
- public/main/inc/lib/pear/
|
|
- 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/
|
|
|