-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathgrumphp.yml
More file actions
74 lines (74 loc) · 1.88 KB
/
grumphp.yml
File metadata and controls
74 lines (74 loc) · 1.88 KB
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
parameters:
additional_info: "\nTo get full documentation for the project\nVisit https://docs.indiehd.com\n"
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:
- /^app\/(.*)/
- /^bootstrap\/(.*)/
- /^config\/(.*)/
encoding: ~
ignore_patterns:
- /^node_modules\/(.*)/
- /^vendor\/(.*)/
- /^storage\/(.*)/
- /^public\/(.*)/
- /^resources\/(.*)/
- /^tests\/(.*)/
- /^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:
- /^app\/(?!Console)(.*)/
- /^bootstrap\/(.*)/
- /^config\/(.*)/
- /^database\/(.*)/
- /^routes\/(.*)/
- /^tests\/(.*)/
triggered_by: ['php']
regexp_type: E
ascii: ~