forked from PHPSocialNetwork/phpfastcache-bundle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.codeclimate.yml
57 lines (56 loc) · 1.15 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
#
# This file is part of phpFastCache.
#
# @license MIT License (MIT)
#
# For full copyright and license information, please see the docs/CREDITS.txt file.
#
# @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
# @author Georges.L (Geolim4) <contact@geolim4.com>
#
engines:
duplication:
enabled: false
checks:
Similar code:
enabled: false
UnusedFormalParameter:
enabled: false
Controversial/CamelCaseClassName:
enabled: false
config:
languages:
- ruby
- javascript
- python
- php
fixme:
enabled: true
phpmd:
enabled: true
checks:
CleanCode/ElseExpression:
enabled: false
CleanCode/BooleanArgumentFlag:
enabled: false
Controversial/Superglobals:
enabled: false
Controversial/CamelCaseVariableName:
enabled: false
Design/TooManyPublicMethods:
enabled: false
Design/NpathComplexity:
enabled: false
ratings:
paths:
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.py"
- "**.rb"
exclude_paths:
- "bin/**"
- "examples/**"
- "tests/**"