-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.scrutinizer.yml
47 lines (47 loc) · 1.3 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
build:
nodes:
tests-php74:
environment:
php:
version: '7.4'
ini:
phar.readonly: 'Off'
pecl_extensions:
- xdebug
tests:
override:
-
command: 'XDEBUG_MODE=coverage ./bin/phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'php-clover'
tests-php80:
environment:
php:
version: '8.0'
ini:
phar.readonly: 'Off'
pecl_extensions:
- xdebug
tests:
override:
-
command: 'XDEBUG_MODE=coverage ./bin/phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'php-clover'
validation:
tests:
override:
- php-scrutinizer-run --enable-security-analysis
-
command: './bin/phpcs'
-
command: './bin/phpstan'
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php: { }