-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrumphp.yml
More file actions
158 lines (158 loc) · 4.49 KB
/
grumphp.yml
File metadata and controls
158 lines (158 loc) · 4.49 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# grumphp.yml
grumphp:
hooks_dir: ~
hooks_preset: local
git_hook_variables:
VAGRANT_HOST_DIR: .
VAGRANT_PROJECT_DIR: /var/www
EXEC_GRUMPHP_COMMAND: exec
ENV: {}
stop_on_failure: false
ignore_unstaged_changes: false
hide_circumvention_tip: false
process_timeout: 60
ascii:
failed: grumphp-grumpy.txt
succeeded: grumphp-happy.txt
parallel:
enabled: true
max_workers: 32
fixer:
enabled: true
fix_by_default: false
environment:
files:
- .env
variables: {}
paths: []
tasks:
composer:
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:
indent_size: 4
indent_style: "space"
no_update_lock: true
verbose: false
composer_require_checker:
composer_file: 'composer.json'
config_file: ~
ignore_parse_errors: false
triggered_by: ['composer.json', 'composer.lock', '*.php']
ecs:
config: ~
level: ~
paths: []
files_on_pre_commit: false
triggered_by: ['php']
clear-cache: false
no-progress-bar: true
git_branch_name:
blacklist:
- "develop"
- "main"
- "master"
additional_modifiers: ''
allow_detached_head: true
phpcpd:
directory:
- 'src/Controller'
- 'src/Repository'
exclude:
- 'src/Security'
- 'vendor'
- 'var'
fuzzy: true
min_lines: 5
min_tokens: 70
triggered_by: ['php']
phplint:
exclude: []
jobs: ~
short_open_tag: false
ignore_patterns: []
triggered_by: ['php', 'phtml', 'php3', 'php4', 'php5']
phpmnd:
directory: .
whitelist_patterns: []
exclude: []
exclude_name: []
exclude_path:
- "migrantions"
- "src/Security"
- "var"
extensions: []
hint: false
ignore_funcs: []
ignore_numbers: []
ignore_strings: []
strings: false
triggered_by: ['php']
phpstan:
autoload_file: ~
configuration: phpstan.neon
force_patterns: []
ignore_patterns: []
triggered_by: ['php']
memory_limit: "-1"
use_grumphp_paths: true
phpversion:
project: '8.0'
phpmd:
whitelist_patterns: []
exclude:
- migrations/
- src/Security
- Kernel.php
report_format: ansi
ruleset: ['cleancode', 'codesize', 'controversial', 'design', 'naming', 'unusedcode']
triggered_by: ['php']
securitychecker_enlightn:
lockfile: ./composer.lock
run_always: true
securitychecker_symfony:
lockfile: ./composer.lock
format: ~
run_always: false
twigcs:
path: './templates/'
severity: 'info'
ruleset: 'FriendsOfTwig\Twigcs\Ruleset\Official'
triggered_by: ['twig']
exclude: []
xmllint:
ignore_patterns: []
load_from_net: false
x_include: false
dtd_validation: false
scheme_validation: false
triggered_by: ['xml']
yamllint:
whitelist_patterns: []
ignore_patterns: []
object_support: false
exception_on_invalid_type: false
parse_constant: false
parse_custom_tags: false
testsuites:
git:
tasks:
- yamllint
- xmllint
- twigcs
- securitychecker_symfony
- securitychecker_enlightn
- phpmd
- phpversion
- phplint
- phpcpd
- ecs
- composer_require_checker
- composer_normalize
- composer
extensions: []