Skip to content

Commit 6e56723

Browse files
committed
Enhance grumphp configuration with additional validation tasks
- Add composer, composer_normalize, jsonlint, yamllint, phplint tasks for pre-commit validation - Add parallel execution support - Create post-checkout and post-merge hooks for vendor synchronization Closes #43
1 parent 44013ac commit 6e56723

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

grumphp.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,31 @@
11
grumphp:
22
stop_on_failure: true
3+
process_timeout: 120
34

45
tasks:
56
composer_script:
67
script: 'dev-tools'
78
triggered_by: ['php']
9+
composer:
10+
no_check_lock: true
11+
composer_normalize:
12+
use_standalone: true
13+
jsonlint: ~
14+
yamllint: ~
15+
phplint: ~
816

917
testsuites:
1018
git_pre_commit:
1119
tasks:
12-
- composer_script
20+
- composer_script
21+
- composer
22+
- composer_normalize
23+
- jsonlint
24+
- yamllint
25+
- phplint
26+
27+
parallel:
28+
enabled: true
29+
max_workers: 4
30+
31+
hooks_preset: local

0 commit comments

Comments
 (0)