-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgrumphp-convention.yml
67 lines (67 loc) · 2.02 KB
/
grumphp-convention.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
parameters:
commit_project_names: ""
stop_on_first_failure: false
run_phpstan: false
run_psalm: false
run_security_advisories: true
grumhp_exec_command: kevin app php
phpstan.level: "max"
phpunit.parallel: true
phpstan.ignore:
- "tests/"
- "Tests/"
- "vendor/"
- "var/"
- "src/Migrations/"
- "spec/"
yaml.ignore:
- 'docker-compose.yml'
grumphp:
stop_on_failure: "%stop_on_first_failure%"
git_hook_variables:
EXEC_GRUMPHP_COMMAND: "%grumhp_exec_command%"
fixer:
enabled: true
fix_by_default: true
tasks:
phpunit:
metadata:
enabled: "@=container.getParameter('phpunit.parallel') ? false : true"
paratest:
metadata:
enabled: "%phpunit.parallel%"
yamllint:
parse_custom_tags: true
ignore_patterns: "%yaml.ignore%"
composer:
strict: false
no_check_publish: true
git_commit_message:
allow_empty_message: false
enforce_capitalized_subject: false
enforce_no_subject_trailing_period: true
enforce_single_lined_subject: false
max_body_width: 9999
max_subject_width: 9999
matchers:
jira_commit: '/^%commit_project_names%-\d*[\s\/].*(\n.+)*?/'
case_insensitive: true
multiline: true
additional_modifiers: ''
psalm:
no_cache: true
metadata:
enabled: "%run_psalm%"
phpstan:
level: "%phpstan.level%"
configuration: "phpstan.neon"
ignore_patterns: "%phpstan.ignore%"
metadata:
enabled: "%run_phpstan%"
phpcsfixer:
config: ".php-cs-fixer.php"
config_contains_finder: true
securitychecker_composeraudit:
run_always: true
metadata:
enabled: "%run_security_advisories%"