-
Notifications
You must be signed in to change notification settings - Fork 8
/
grumphp.yml.dist
65 lines (63 loc) · 1.67 KB
/
grumphp.yml.dist
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
55
56
57
58
59
60
61
62
63
64
65
# https://github.com/phpro/grumphp#configuration
---
grumphp:
ascii:
failed: ~
succeeded: ~
fixer:
enabled: false
hide_circumvention_tip: true
process_timeout: 300
tasks:
clover_coverage:
clover_file: var/phpunit/clover.xml
# Requiring 100% code coverage here makes it safe to just put a static
# badge in the README rather than using some third-party service. If
# this ever changes, that strategy will have to change accordingly.
level: 100
composer: ~
phpcs:
standard: []
whitelist_patterns:
- src
- tests
phpstan:
use_grumphp_paths: false
phpunit:
testsuite: all
exclude_group:
- windows_only
rector: ~
shell:
scripts:
# Check for PSR-4 mapping errors.
- - '-c'
- composer dump-autoload --strict-psr
xmllint:
ignore_patterns:
- .idea
- var
- vendor
triggered_by:
- xml
- xml.dist
yamllint:
whitelist_patterns:
- .github
- /^.*.ya?ml(.dist)?$/
- config
- src
testsuites:
static:
tasks:
- composer
- phpcs
- phpstan
- rector
- shell
- xmllint
- yamllint
test:
tasks:
- clover_coverage
- phpunit