-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.scrutinizer.yml
More file actions
33 lines (33 loc) · 774 Bytes
/
Copy path.scrutinizer.yml
File metadata and controls
33 lines (33 loc) · 774 Bytes
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
filter:
paths:
- src/*
excluded_paths:
- tests/*
- src/ConfigureLogging.php
tools:
php_code_sniffer:
config:
standard: "PSR2"
php_cs_fixer:
config: { level: psr2 }
php_mess_detector: true
sensiolabs_security_checker: true
php_pdepend: true
php_sim: true
checks:
php:
code_rating: true
duplication: true
build:
environment:
php:
version: 8.1.2
ini:
"xdebug.mode": coverage
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover tests/logs/clover.xml'
coverage:
file: 'tests/logs/clover.xml'
format: 'php-clover'