forked from Kunstmaan/KunstmaanBundlesCMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.sensiolabs.yml
71 lines (61 loc) · 2.19 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
65
66
67
68
69
70
71
php_version: 5.6
# 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"
# Configure the directories excluded from the analysis. By default,
# this setting excldues directories commonly used to store tests
# and third-party libraries.
global_exclude_dirs:
- vendor
- vendors
- vendor_bower
- test
- tests
- Tests
- spec
- features
- Fixtures
- DataFixtures
- var
- skeleton
# Configure patterns used by SensioLabsInsight to exclude specific
# files and directories.
exclude_patterns:
- app/check.php
- app/SymfonyRequirements.php
- web/config.php
- web/app_*.php
- src/Kunstmaan/*/phpunit.xml.dist