-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrumphp.yml
105 lines (105 loc) · 3 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
95
96
97
98
99
100
101
102
103
104
105
grumphp:
git_hook_variables:
EXEC_GRUMPHP_COMMAND: 'docker exec --user devilbox --workdir /shared/httpd/mazer-symfony-6.3 lazybox-php-1 bash -c "vendor/bin/grumphp git:pre-commit"'
HOOK_COMMAND: ""
parallel:
enabled: true
max_workers: 64
tasks:
composer:
metadata:
label: 'Check composer.json'
file: ./composer.json
no_check_all: false
no_check_lock: false
no_check_publish: false
no_local_repository: false
with_dependencies: false
strict: false
composer_normalize:
metadata:
label: 'Check composer.json normalization format (composer-normalize)'
indent_size: ~
indent_style: ~
no_check_lock: false
no_update_lock: true
verbose: false
deptrac:
metadata:
label: 'Check project architecture dependencies (deptrac)'
depfile: deptrac.yaml
output: console
cache_file: ./var/cache/.deptrac.cache
phpunit:
metadata:
label: 'Run unit tests (phpunit)'
config_file: ~
testsuite: ~
group: [ ]
exclude_group: [ ]
always_execute: false
order: null
phpversion:
metadata:
label: 'Check PHP version is 8.2'
project: '8.2'
ecs:
metadata:
label: 'Check coding style (ecs)'
phpstan:
metadata:
label: 'Check code quality (phpstan)'
triggered_by: [ 'php' ]
use_grumphp_paths: false
git_blacklist:
metadata:
label: 'Check for blacklisted patterns in committed files'
whitelist_patterns: [ ]
triggered_by: [ 'php' ]
regexp_type: G
match_word: false
ignore_patterns: [ ]
git_commit_message:
metadata:
label: 'Check 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: [ 'feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'chore', 'revert' ]
scopes: [ 'core', 'cli', 'web', 'api', 'tests', 'docs', 'ci', 'build', 'deps', 'misc' ]
max_body_width: 72
max_subject_width: 60
matchers:
Must contain JIRA issue number: /WCT-\d+/
case_insensitive: true
multiline: true
additional_modifiers: ''
#git_branch_name:
# whitelist:
# - "feature/WCT-*"
# - "bugfix/WCT-*"
# - "hotfix/WCT-*"
# - "support/WCT-*"
# blacklist:
# - "release/*"
# additional_modifiers: ''
# allow_detached_head: true
jsonlint:
metadata:
label: 'Check JSON files (jsonlint)'
ignore_patterns: [ ]
detect_key_conflicts: false
twigcs:
path: src/
yamllint:
metadata:
label: 'Check YAML files (yamllint)'
whitelist_patterns: [ ]
ignore_patterns: [ ]
object_support: false
exception_on_invalid_type: false
parse_constant: false
parse_custom_tags: false