forked from chamilo/chamilo-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
113 lines (106 loc) · 2.56 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
103
104
105
106
107
108
109
110
111
112
113
version: "2"
checks:
argument-count:
enabled: false
complex-logic:
enabled: false
file-lines:
enabled: false
method-complexity:
enabled: true
config:
threshold: 20
method-count:
enabled: false
method-lines:
enabled: false
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"
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/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/