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