-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathgrumphp.yml
67 lines (67 loc) · 1.77 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
grumphp:
ascii:
failed: ~
succeeded: ~
tasks:
phpunit: ~
ecs:
files_on_pre_commit: true
no-progress-bar: true
composer:
no_check_lock: false
no_local_repository: true
composer_normalize:
indent_size: 4
indent_style: space
phplint: ~
phpparser:
visitors:
forbidden_function_calls:
blacklist:
- die
- dd
- dump
- var_dump
- print_r
git_commit_message:
allow_empty_message: false
enforce_capitalized_subject: false
max_subject_width: 120
max_body_width: 500
type_scope_conventions:
types:
- build
- ci
- chore
- docs
- feat
- fix
- perf
- refactor
- style
- test
git_blacklist:
keywords:
- 'die('
- ' dd('
- 'dump('
- 'var_dump('
- 'print_r('
whitelist_patterns:
- '->dump('
- 'function dump'
triggered_by: ['php']
regexp_type: G
testsuites:
default:
tasks:
- phpunit
- composer
- composer_normalize
- phplint
- phpparser
- git_commit_message
- git_blacklist
ecs:
tasks:
- ecs