forked from janvernieuwe/conventions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grumphp.yml
56 lines (56 loc) · 1.59 KB
/
grumphp.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
parameters:
phpstan.config: "vendor/phpro/conventions/phpstan.neon"
phpstan.level: 'max'
phpcsfixer.config: "vendor/phpro/conventions/.php-cs-fixer.php"
phpparser.ignore:
- vendor
- config
- tests/bootstrap.php
- src/Kernel.php
phpstan.ignore:
- "tests/"
- "vendor/"
- "var/"
- "migrations/"
- "spec/"
grumphp:
stop_on_failure: true
tasks:
paratest:
metadata:
priority: 100
yamllint:
parse_custom_tags: true
metadata:
priority: 200
composer:
strict: false
no_check_publish: true
metadata:
priority: 200
phpparser:
ignore_patterns: "%phpparser.ignore%"
visitors:
no_exit_statements: ~
never_use_else: ~
forbidden_function_calls:
blacklist: [var_dump, echo, print, dump, print_r, phpinfo]
metadata:
priority: 200
phpstan:
level: "%phpstan.level%"
configuration: "%phpstan.config%"
ignore_patterns: "%phpstan.ignore%"
metadata:
priority: 200
phpcsfixer:
config: "%phpcsfixer.config%"
config_contains_finder: true
metadata:
priority: 200
securitychecker_roave:
jsonfile: ./composer.json
lockfile: ./composer.lock
run_always: true
metadata:
priority: 200