forked from synolia/SyliusGDPRPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grumphp.yml
47 lines (47 loc) · 1.19 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
grumphp:
ascii:
failed: ~
succeeded: ~
ignore_unstaged_changes: true
tasks:
composer:
file: "composer.json"
no_check_all: true
git_blacklist:
keywords:
- "var_dump"
- "dump("
- "print_r"
- "die("
triggered_by: [php, twig]
jsonlint:
detect_key_conflicts: true
phplint:
exclude: ['vendor', 'tests/Application/*']
triggered_by: ['php']
phpmd:
ruleset: ["ruleset/.php_md.xml"]
exclude: ["src/Migrations/*"]
phpstan:
configuration: "ruleset/phpstan.neon"
level: ~
xmllint: ~
yamllint: ~
ecs:
config: 'ruleset/ecs.php'
no-progress-bar: true
phpmnd:
directory: src
testsuites:
git_pre_commit:
tasks:
- composer
- git_blacklist
- jsonlint
- phplint
- phpmd
- phpstan
- xmllint
- yamllint
- ecs
- phpmnd