-
Notifications
You must be signed in to change notification settings - Fork 429
/
services.yml
77 lines (62 loc) · 2.2 KB
/
services.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
73
74
75
76
77
services:
GrumPHP\Configuration\GuessedPaths:
class: GrumPHP\Configuration\GuessedPaths
synthetic: true
public: true
Symfony\Component\EventDispatcher\EventDispatcher: ~
event_dispatcher: '@Symfony\Component\EventDispatcher\EventDispatcher'
GrumPHP\Event\Dispatcher\Bridge\SymfonyEventDispatcher:
arguments:
- '@Symfony\Component\EventDispatcher\EventDispatcher'
GrumPHP\Configuration\Resolver\TaskConfigResolver:
synthetic: true
GrumPHP\Event\Dispatcher\EventDispatcherInterface: '@GrumPHP\Event\Dispatcher\Bridge\SymfonyEventDispatcher'
filesystem:
alias: grumphp.util.filesystem
executable_finder:
class: Symfony\Component\Process\ExecutableFinder
calls:
- { method: 'setSuffixes', arguments: [['.phar', '.exe', '.bat', '.cmd', '.com']] }
process_builder:
class: GrumPHP\Process\ProcessBuilder
arguments:
- '@GrumPHP\Locator\ExternalCommand'
- '@grumphp.io'
- '@GrumPHP\Configuration\Model\ProcessConfig'
public: true
GrumPHP\Git\GitRepository:
arguments:
- '@GrumPHP\Locator\GitRepositoryLocator'
-
logger: '@grumphp.logger'
inherit_environment_variables: true
GrumPHP\IO\IOFactory:
arguments:
- '@OndraM\CiDetector\CiDetector'
grumphp.io:
alias: GrumPHP\IO\IOInterface
GrumPHP\IO\IOInterface:
factory: ['@GrumPHP\IO\IOFactory', 'create']
arguments:
- '@console.input'
- '@console.output'
grumphp.logger:
class: Monolog\Logger
arguments:
- 'GrumPHP'
- ['@grumphp.logger.handler.nullhandler']
public: true
grumphp.logger.handler.nullhandler:
class: Monolog\Handler\NullHandler
public: false
console.input:
class: Symfony\Component\Console\Input\ArgvInput
synthetic: true
public: true
console.output:
class: Symfony\Component\Console\Output\ConsoleOutput
synthetic: true
public: true
json.parser:
class: Seld\JsonLint\JsonParser
GrumPHP\Configuration\Configurator\TaskConfigurator: ~