-
Notifications
You must be signed in to change notification settings - Fork 14
/
.scrutinizer.yml
48 lines (46 loc) · 1000 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
before_commands:
- "composer install --prefer-dist"
tools:
php_code_coverage:
enabled: true
test_command: composer test
php_code_sniffer:
enabled: true
config:
standard: PSR2
filter:
paths: ["src/*", "test/*"]
php_cpd:
enabled: true
excluded_dirs: ["doc", "test", "vendor"]
php_cs_fixer:
enabled: true
config:
level: all
filter:
paths: ["src/*", "test/*"]
php_loc:
enabled: true
excluded_dirs: ["doc", "test", "vendor"]
php_mess_detector:
enabled: true
filter:
paths: ["src/*"]
php_pdepend:
enabled: true
excluded_dirs: ["doc", "test", "vendor"]
php_analyzer: true
php_analyzer:
filter:
paths: ["src/*", "test/*"]
sensiolabs_security_checker: true
build:
environment:
php: '7.0'
tests:
override:
-
command: './vendor/bin/phpunit --coverage-clover=clover.xml'
coverage:
file: 'test/clover.xml'
format: 'php-clover'