forked from zikula/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
119 lines (117 loc) · 2.72 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
114
115
116
117
118
119
engines:
csslint:
enabled: true
checks:
overqualified-elements:
enabled: false
unique-headings:
enabled: false
eslint:
enabled: true
checks:
complexity:
enabled: false
max-statements:
enabled: false
no-alert:
enabled: false
wrap-iife:
enabled: false
fixme:
enabled: true
config:
strings:
- FIXME
- HACK
- TODO
markdownlint:
enabled: true
checks:
MD009: # trailing spaces
enabled: false
MD013: # line length
enabled: false
phan:
enabled: true
config:
ignore-undeclared: true
dead-code-detection: true
checks:
PhanNonClassMethodCall:
enabled: false
PhanParamSignatureMismatch:
enabled: false
PhanTypeMismatchProperty:
enabled: false
PhanUnreferencedClass:
enabled: false
PhanUnreferencedConstant:
enabled: false
PhanUnreferencedMethod:
enabled: false
PhanUnreferencedProtectedMethod:
enabled: false
PhanUnreferencedPublicMethod:
enabled: false
phpcodesniffer:
enabled: true
checks:
Generic Files LineLength TooLong:
enabled: false
PSR2 ControlStructures SwitchDeclaration TerminatingComment:
enabled: false
PSR2 Methods MethodDeclaration Underscore:
enabled: false
Squiz Functions MultiLineFunctionDeclaration SpaceAfterFunction:
enabled: false
phpmd:
enabled: true
checks:
CleanCode/BooleanArgumentFlag:
enabled: false
CleanCode/ElseExpression:
enabled: false
CleanCode/StaticAccess:
enabled: false
CyclomaticComplexity:
enabled: false
Design/CouplingBetweenObjects:
enabled: false
Design/LongMethod:
enabled: false
Design/LongParameterList:
enabled: false
Design/NpathComplexity:
enabled: false
Design/TooManyFields:
enabled: false
Design/TooManyPublicMethods:
enabled: false
Design/WeightedMethodCount:
enabled: false
ExcessivePublicCount:
enabled: false
Naming/BooleanGetMethodName:
enabled: false
Naming/LongVariable:
enabled: false
Naming/ShortMethodName:
enabled: false
Naming/ShortVariable:
enabled: false
UnusedFormalParameter:
enabled: false
UnusedLocalVariable:
enabled: false
ratings:
paths:
- "**.css"
- "**.js"
- "**.md"
- "**.php"
exclude_paths:
- "src/lib/Zikula/Bundle/WorkflowBundle/Resources/public/js/jsPlumb/"
- "src/themes/BootstrapTheme/Resources/public/css/cerulean.css"
- "*.min.js"
- "**/tests/"
- "**/vendor/"