Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
24 | 21 | public function load(array $configs, ContainerBuilder $container) |
|
25 | { |
||
26 | 21 | $locator = new FileLocator(__DIR__.'/../Resources/config'); |
|
27 | 21 | $loader = new XmlFileLoader($container, $locator); |
|
28 | |||
29 | 21 | $configuration = $this->processConfiguration(new Configuration(), $configs); |
|
30 | |||
31 | 21 | $container->setParameter('reports', $configuration['reports']); |
|
32 | 21 | $container->setParameter('config.filter', $configuration['filter']); |
|
33 | 21 | $container->setParameter('coverage.options', $configuration['coverage']); |
|
34 | |||
35 | 21 | $loader->load('code_coverage.xml'); |
|
36 | 21 | $loader->load('reports.xml'); |
|
37 | } |
||
44 |