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