-
Notifications
You must be signed in to change notification settings - Fork 1
/
.sensiolabs.yml
64 lines (55 loc) · 1.94 KB
/
.sensiolabs.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
# Configure the failure conditions for your commit status
# If at least one of these conditions is verified, the commit status is displayed as failed
commit_failure_conditions:
# By severities count (default configuration, any change will override it)
- "project.severity.critical > 0"
- "project.severity.major > 0"
# # By other severities count
# - "project.severity.minor > 0"
# - "project.severity.info >= 15"
#
# # By categories count
# - "project.category.architecture > 0"
# - "project.category.bugrisk > 0"
# - "project.category.codestyle > 0"
# - "project.category.deadcode > 0"
# - "project.category.performance > 0"
# - "project.category.readability > 0"
# - "project.category.security > 0"
#
# # By project grade (none, bronze, silver, gold, platinum)
# - "project.grade < gold"
#
# # By total violations count
# - "project.violations > 150"
#
# By severities count, limited to the violations concerning files edited by the current PR
# - "pr.severity.critical > 0"
# - "pr.severity.major > 0"
# - "pr.severity.minor > 0"
# - "pr.severity.info >= 15"
#
# # By categories count, limited to the violations concerning files edited by the current PR
# - "pr.category.architecture > 0"
# - "pr.category.bugrisk > 0"
# - "pr.category.codestyle > 0"
# - "pr.category.deadcode > 0"
# - "pr.category.performance > 0"
# - "pr.category.readability > 0"
# - "pr.category.security > 0"
#
# # By total violations count, limited to the violations concerning files edited by the current PR
# - "pr.violations > 150"
rules:
php.missing_use_statement:
enabled: false
php.dynamically_change_configuration:
enabled: false
composer.invalid_file:
enabled: false
php.use_exit_function:
enabled: false
php.commented_out_code:
enabled: false
missing_e_o_l:
enabled: false