-
Notifications
You must be signed in to change notification settings - Fork 21
/
.codeclimate.yml
41 lines (41 loc) · 1009 Bytes
/
.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
# Validate for errors with http://www.yamllint.com/
engines:
duplication:
enabled: true
config:
languages:
- php
fixme:
enabled: true
phpcodesniffer:
enabled: true
config:
standard: "WordPress"
ignore_warnings: true
checks:
Generic PHP LowerCaseConstant Found:
enabled: false
Squiz Commenting InlineComment InvalidEndChar:
enabled: false
WordPress PHP YodaConditions:
enabled: false
WordPress Arrays ArrayKeySpacingRestrictions SpacesAroundArrayKeys:
enabled: false
phpmd:
enabled: true
checks:
Controversial/CamelCaseClassName:
enabled: false
Controversial/CamelCaseMethodName:
enabled: false
Controversial/CamelCasePropertyName:
enabled: false
Controversial/CamelCaseParameterName:
enabled: false
Controversial/CamelCaseVariableName:
enabled: false
ratings:
paths:
- "**.php"
exclude_paths:
- "**/assets/**/*"