-
Notifications
You must be signed in to change notification settings - Fork 0
/
grumphp.yml
94 lines (94 loc) · 2.28 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
83
84
85
86
87
88
89
90
91
92
93
94
grumphp:
git_hook_variables:
EXEC_GRUMPHP_COMMAND: fin run-cli --image=docksal/cli:php8.2-3.6 php
stop_on_failure: false
ignore_unstaged_changes: true
tasks:
git_blacklist:
keywords:
- "die("
- "var_dump("
- "dpm("
composer:
file: ./composer.json
no_check_all: false
no_check_lock: false
no_check_publish: true
no_local_repository: false
with_dependencies: false
strict: false
phplint:
triggered_by:
- php
- module
- theme
- install
- inc
phpcs:
standard: [ '.phpcs.xml' ]
ignore_patterns:
- .github
- .gitlab
- /config/
- /drush/
- /web/robots.txt
- /web/sites/default/
- /vendor
- /load.environment.php
triggered_by:
- php
- module
- inc
- install
- test
- profile
- theme
- info
- txt
- md
- yml
- css
- js
phpmd:
whitelist_patterns:
- /^web\/modules\/custom\/(.*)/
- /^web\/profiles\/contrib\/(.*)/
ruleset: [ 'phpmd.xml' ]
triggered_by: [ 'php', 'install', 'inc', 'module' ]
phpmnd:
directory: web/modules/custom,web/profiles/contrib
whitelist_patterns: [ ]
exclude: [ ]
exclude_name: [ ]
exclude_path: [ ]
extensions: [ ]
hint: false
ignore_funcs: [ ]
ignore_numbers: [ ]
ignore_strings: [ ]
strings: false
triggered_by: [ 'php', 'install', 'inc', 'module' ]
yamllint: ~
git_branch_name:
whitelist:
- /[[A-Z]*-\d+|release--\d+\.?\d+\.?\d+/
blacklist:
- "develop"
- "staging"
- "master"
additional_modifiers: ''
allow_detached_head: true
git_commit_message:
allow_empty_message: false
enforce_capitalized_subject: true
enforce_no_subject_punctuations: false
enforce_no_subject_trailing_period: false
enforce_single_lined_subject: false
type_scope_conventions: [ ]
max_body_width: 72
max_subject_width: 120
matchers:
Must contain JIRA issue number: /^\[[A-Z]*-\d+\].*|Merge.*/
case_insensitive: true
multiline: true
additional_modifiers: ''