-
Notifications
You must be signed in to change notification settings - Fork 5
/
grumphp.dist.yml
72 lines (64 loc) · 1.82 KB
/
grumphp.dist.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
68
69
70
71
72
imports:
- resource: vendor/mediact/testing-suite/config/default/grumphp.yml
parameters:
process_timeout: 300
tasks:
composer:
strict: true
metadata:
priority: 1000
phpcs:
standard: ./phpcs.xml
triggered_by: [php]
metadata:
priority: 800
phpmd:
exclude: []
ruleset:
- ./phpmd.xml
triggered_by: [php]
metadata:
priority: 600
phpstan:
autoload_file: ~
configuration: ./phpstan.neon
level: 4
triggered_by: [php]
metadata:
priority: 400
phpunit:
config_file: ./phpunit.xml
metadata:
priority: 200
dependency-guard:
metadata:
priority: 100
services:
mediact.dependency_guard.exporter.factory:
class: Mediact\DependencyGuard\Composer\Command\Exporter\ViolationExporterFactory
mediact.dependency_guard.exporter:
class: Mediact\DependencyGuard\Exporter\ViolationExporterInterface
factory: 'mediact.dependency_guard.exporter.factory:create'
arguments:
- '@console.input'
- '@console.output'
mediact.dependency_guard.factory:
class: Mediact\DependencyGuard\DependencyGuardFactory
mediact.dependency_guard.composer.io:
class: Composer\IO\BufferIO
mediact.dependency_guard.composer.factory:
class: Composer\Factory
mediact.dependency_guard.composer:
class: Composer\Composer
factory: mediact.dependency_guard.composer.factory:createComposer
arguments:
- '@mediact.dependency_guard.composer.io'
mediact.dependency_guard.grumphp.task:
class: Mediact\DependencyGuard\GrumPHP\DependencyGuard
arguments:
- '@mediact.dependency_guard.composer'
- '@mediact.dependency_guard.factory'
- '@mediact.dependency_guard.exporter'
tags:
- name: grumphp.task
config: dependency-guard