Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
12 | 15 | public function process(ContainerBuilder $container) |
|
13 | { |
||
14 | 15 | $reports = $container->getParameter('reports'); |
|
15 | 15 | foreach($reports as $type => $config){ |
|
16 | 15 | $this->processConfig($container, $type, $config); |
|
17 | } |
||
18 | |||
19 | 15 | $coverage = $container->getDefinition('coverage'); |
|
20 | 15 | $coverage->addMethodCall('addSubscriber', [new Reference('report')]); |
|
21 | } |
||
47 |