-
Notifications
You must be signed in to change notification settings - Fork 11
/
.scrutinizer.yml
49 lines (44 loc) · 1.1 KB
/
.scrutinizer.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
checks:
php:
code_rating: true
duplication: true
build_failure_conditions:
- 'issues.severity(>= MAJOR).new.exists'
- 'project.metric_change("scrutinizer.quality", < -0.10)'
- 'project.metric_change("scrutinizer.test_coverage", < -0.10)'
build:
environment:
php:
version: 5.5.12
ini:
error_reporting: 16383
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=coverage-report'
coverage:
file: 'coverage-report'
format: 'php-clover'
filter:
paths:
- src/*
excluded_paths:
- tests/*
tools:
external_code_coverage: false
php_code_coverage: false
php_code_sniffer:
config:
standard: 'symfony'
php_changetracking: true
php_cpd: true
php_cs_fixer:
config:
level: 'all'
coding_style:
php:
spaces:
before_parentheses:
closure_definition: true
around_operators:
concatenation: false