forked from phpro/grumphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grumphp.yml.dist
48 lines (48 loc) · 1.22 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
grumphp:
process_timeout: 480
tasks:
phpcs:
standard: PSR2
ignore_patterns:
- "spec/*Spec.php"
- "test/*.php"
- "stubs/*.php"
phpspec:
format: progress
verbose: true
phpunit:
testsuite: Unit
composer:
no_check_lock: true
composer_normalize:
use_standalone: true
yamllint:
parse_custom_tags: true
ignore_patterns:
- "#test/(.*).yml#"
phplint: ~
phpparser:
ignore_patterns:
- '#src/Event/Event.php#'
- '#test/Symfony/(.*)#'
visitors:
no_exit_statements: ~
never_use_else: ~
forbidden_function_calls:
blacklist: [var_dump]
paratest:
testsuite: E2E
verbose: true
functional: true
psalm:
show_info: true
testsuites:
git_pre_commit:
tasks: [phpcs, phpspec, phpunit, composer, composer_normalize, yamllint, phplint, phpparser, psalm]
# Dont run psalm on windows for now. There is a known issue with the windows phar:
# https://github.com/vimeo/psalm/issues/2858
windows:
tasks: [phpcs, phpspec, phpunit, composer, composer_normalize, yamllint, phplint, phpparser, paratest]
environment:
paths:
- tools