forked from HDInnovations/UNIT3D-Community-Edition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grumphp.yml
63 lines (63 loc) · 1.52 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
grumphp:
tasks:
git_commit_message:
allow_empty_message: false
enforce_capitalized_subject: false
enforce_no_subject_trailing_period: true
enforce_no_subject_punctuations: false
enforce_single_lined_subject: true
type_scope_conventions:
- types:
- api
- build
- chore
- refact
- revert
- feat
- tests
- docs
- style
- ci
- ui
- scaff
- perf
- fix
- wip
- scopes: []
max_body_width: 0
max_subject_width: 72
case_insensitive: false
multiline: true
additional_modifiers: ''
phpcs:
standard: PSR2
severity: ~
error_severity: ~
warning_severity: ~
tab_width: ~
whitelist_patterns:
- /^src\/(.*)/
encoding: ~
ignore_patterns:
- /^vendor\/(.*)/
- /^database\/(.*)/
- /^routes\/(.*)/
sniffs: []
triggered_by: [php]
git_blacklist:
# todo: Apparently keywords are not words but rather contains
# e.g. `->add()` will be seen as `dd(`
# This is assumed an issue that probably should be opened with GrumPHP
keywords:
- "die("
- "var_dump("
- "exit;"
# - "exit("
# - "dd("
whitelist_patterns:
- /^database\/(.*)/
- /^routes\/(.*)/
- /^tests\/(.*)/
triggered_by: ['php']
regexp_type: G
ascii: ~