forked from chamilo/chamilo-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
102 lines (95 loc) · 2.18 KB
/
.codeclimate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
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/