-
Notifications
You must be signed in to change notification settings - Fork 0
/
grumphp.yml
82 lines (82 loc) · 1.8 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
grumphp:
stop_on_failure: true
process_timeout: 600
git_hook_variables:
EXEC_GRUMPHP_COMMAND: './bin/grumphp_hooks/environment_spinup && docker exec -t circuit-breaker-bundle-php81'
testsuites:
php8.1:
tasks:
- phpcs
- phpmd
- phpcsfixer2
- phpparser
- phplint
- phpunit
- shell
- phpstan
- psalm
php8.1-no-analyse:
tasks:
- phpunit
- shell
php8.2-no-analyse:
tasks:
- phpmd
- phpcsfixer2
- phpparser
- phpunit
- shell
tasks:
phpcs:
standard: 'phpcs.ruleset.xml'
tab_width: 4
whitelist_patterns: [ ]
encoding: utf-8
ignore_patterns: [ ]
sniffs: [ ]
triggered_by: [ php ]
phpmd:
ruleset: [ 'phpmd.ruleset.xml' ]
phpcsfixer2:
cache_file: '.php-cs-fixer.cache'
allow_risky: true
config: '.php-cs-fixer.php'
using_cache: true
config_contains_finder: true
verbose: false
diff: true
triggered_by: [ 'php' ]
phpparser:
ignore_patterns:
- tests/
kind: php7
visitors:
declare_strict_types: ~
no_exit_statements: ~
never_use_else: ~
forbidden_function_calls:
blacklist:
- 'var_dump'
forbidden_static_method_calls:
blacklist:
- 'Dumper::dump'
triggered_by: [ php ]
phplint:
exclude: [ 'vendor' ]
phpunit: ~
shell: ~
phpstan:
autoload_file: ~
configuration: 'phpstan.neon'
level: max
ignore_patterns:
- tests/
triggered_by: [ 'php' ]
psalm:
config: psalm.xml
ignore_patterns:
- vendor
no_cache: false
report: ~
triggered_by: [ 'php' ]
show_info: true