-
Notifications
You must be signed in to change notification settings - Fork 176
Expand file tree
/
Copy pathgrumphp.yml.dist
More file actions
50 lines (50 loc) · 1.25 KB
/
grumphp.yml.dist
File metadata and controls
50 lines (50 loc) · 1.25 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
# grumphp.yml
grumphp:
hide_circumvention_tip: true
stop_on_failure: true
process_timeout: 120
parallel:
enabled: true
max_workers: 32
fixer:
enabled: false
fix_by_default: false
environment:
variables:
GRUMPHP_BIN_DIR: 'vendor/bin'
paths:
- 'node_modules/.bin'
tasks:
git_blacklist:
keywords:
- 'wp_die('
- 'die('
- ' dump('
- ' dd('
git_branch_name:
blacklist:
- 'main'
- 'master'
- 'dev*'
allow_detached_head: false
git_commit_message:
allow_empty_message: false
enforce_capitalized_subject: false
enforce_no_subject_punctuations: false
enforce_no_subject_trailing_period: true
# npm_script - Removed for environment compatibility
# This task fails in environments where npm is not in PATH (e.g., Lando)
# i18n validation still runs in CI via GitHub Actions
# To run manually: npm run i18n:check
phpcs:
standard: './phpcs.xml.dist'
report: 'full'
ignore_patterns:
- '/^assets\/(.*)/'
triggered_by: [php]
phpstan:
configuration: './phpstan.neon.dist'
ignore_patterns:
- '/^assets\/(.*)/'
memory_limit: '-1'
triggered_by: [php]