-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
grumphp.yml
54 lines (49 loc) · 1.26 KB
/
grumphp.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
50
51
52
53
54
imports:
- { resource: vendor/drupol/php-conventions/config/php73/grumphp.yml }
parameters:
# GrumPHP License
tasks.license.holder: Pol Dellaiera
tasks.license.date_from: 2019
# PHP CS Fixer
tasks.phpcsfixer.config: .php-cs-fixer.dist.php
tasks.phpcsfixer.diff: true
# PHPStan
tasks.phpstan.level: 8
tasks.phpstan.blocking: true
tasks.phpstan.ignore_patterns:
- "/.github/"
- "/.idea/"
- "/build/"
- "/benchmarks/"
- "/docs/"
- "/node_modules/"
- "/resource/"
- "/spec/"
- "/var/"
- "/vendor/"
- "tests/unit/"
- "tests/src/"
# Psalm
tasks.psalm.blocking: true
tasks.psalm.ignore_patterns:
- "/.github/"
- "/.idea/"
- "/build/"
- "/benchmarks/"
- "/node_modules/"
- "/resource/"
- "/spec/"
- "/var/"
- "/vendor/"
extra_tasks:
phpunit:
always_execute: true
clover_coverage:
clover_file: build/logs/coverage/clover.xml
level: 95
infection:
threads: 10
test_framework: phpunit
configuration: infection.json
min_msi: 90
min_covered_msi: 90