forked from jakzal/toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
48 lines (43 loc) · 932 Bytes
/
.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
inherit: true
build:
environment:
php:
version: 7.2
tests:
override:
- make test
project_setup:
nodes:
coverage:
tests:
override:
- command: make phpunit-coverage
coverage:
file: build/coverage.xml
format: clover
filter:
paths: [src/*]
build_failure_conditions:
- 'elements.rating(<= B).new.exists'
- 'issues.label("coding-style").new.exists'
- 'issues.severity(>= MAJOR).new.exists'
checks:
php: true
tools:
php_code_sniffer: { config: { standard: psr2 } }
php_cs_fixer: { config: { level: psr2 } }
external_code_coverage: false
php_code_coverage: true
php_changetracking: true
php_sim: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
coding_style:
php:
spaces:
within:
brackets: false
before_parentheses:
closure_definition: true