-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgrumphp.yml
44 lines (44 loc) · 1.07 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
grumphp:
git_hook_variables:
EXEC_GRUMPHP_COMMAND: 'sh grumphp.sh'
tasks:
composer:
with_dependencies: true
git_blacklist:
keywords: [ 'dump', 'var_dump', 'die', 'dd', 'exit', 'phpinfo', 'print_r' ]
git_branch_name:
whitelist:
- 'main'
- 'staging'
- 'develop'
- 'feat/*'
- 'fix/*'
- 'hotfix/*'
- 'experimental/*'
- 'release/*'
git_commit_message:
allow_empty_message: false
enforce_capitalized_subject: false
enforce_no_subject_punctuations: false
enforce_no_subject_trailing_period: true
enforce_single_lined_subject: true
type_scope_conventions:
- types:
- build
- ci
- chore
- docs
- feat
- fix
- perf
- refactor
- revert
- style
- test
- wip
max_body_width: 80
max_subject_width: 80
phpcsfixer: ~
phpmd:
ruleset: ['phpmd.xml']
triggered_by: ['php']