-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrumphp.yml.dist
More file actions
81 lines (66 loc) · 2.13 KB
/
grumphp.yml.dist
File metadata and controls
81 lines (66 loc) · 2.13 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
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
grumphp:
process_timeout: null
#fixer:
# fix_by_default: true
tasks:
# Composer validation - check composer.json syntax and dependencies
composer: ~
# Composer normalize - standardize composer.json format
composer_normalize: ~
# File size check - prevent overly large files
file_size:
ignore_patterns:
- 'vendor/*'
- '*.lock'
# Git commit message validation
git_commit_message:
enforce_capitalized_subject: false
matchers:
Must be formatted according to Conventional Commits: /^(feat|fix|docs|style|refactor|test|chore)(\(.+\))?\!?:\s.{1,}$/
# JSON validation
jsonlint:
ignore_patterns: ['vendor']
detect_key_conflicts: true
# PHP CS Fixer
phpcsfixer:
config: .php-cs-fixer.dist.php
# PHP Lint
phplint:
exclude: ['vendor']
# PHP Magic Number Detector
phpmnd:
exclude_path: ['vendor']
# PHP Parser
phpparser:
ignore_patterns: ['vendor']
visitors:
declare_strict_types: ~
forbidden_function_calls:
blacklist:
- 'var_dump'
- 'print_r'
#no_exit_statements: ~
# PHPStan - Static Analysis
phpstan:
configuration: ./phpstan.neon.dist
memory_limit: '-1'
# PHPUnit - Tests
phpunit: ~
# PHP Version Check
#https://www.php.net/supported-versions.php
phpversion:
project: '8.0'
# Psalm - Additional Static Analysis
#FIXME - Temporarily disabled for PHP 8.4 compatibility
#psalm:
# config: psalm.xml.dist
# ignore_patterns: ['vendor']
# threads: 4
# Rector - Automated Refactoring
rector: ~
# Security Checker
securitychecker_roave:
run_always: true
# YAML validation
yamllint:
ignore_patterns: ['vendor']