-
Notifications
You must be signed in to change notification settings - Fork 3
/
.codeclimate.yml
67 lines (67 loc) · 1.41 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
---
engines:
duplication:
enabled: true
config:
languages:
- javascript
- php
checks:
ExcessivePublicCount:
enabled: false
Similar code:
enabled: false
Identical code:
enabled: false
fixme:
enabled: true
phpmd:
enabled: true
config:
CyclomaticComplexity:
reportLevel: 100
ExcessiveClassComplexity:
maximum: 200
NpathComplexity:
minimum: 500
TooManyMethods:
maxmethods: 50
WeightedMethodCount:
maxmethods: 50
ExcessiveMethodLength:
minimum: 250
ignore-whitespace: true
checks:
UnusedFormalParameter:
enabled: false
Design/NpathComplexity:
enabled: false
Design/WeightedMethodCount:
enabled: false
Design/LongMethod:
enabled: false
CyclomaticComplexity:
enabled: false
ExcessivePublicCount:
enabled: false
Design/TooManyMethods:
enabled: false
Design/TooManyPublicMethods:
enabled: false
Naming/ShortVariable:
enabled: false
CleanCode/BooleanArgumentFlag:
enabled: false
Controversial/Superglobals:
enabled: false
CleanCode/ElseExpression:
enabled: false
CleanCode/StaticAccess:
enabled: false
ratings:
paths:
- "**.inc"
- "**.js"
- "**.php"
exclude_paths:
- tests/