| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function load(array $configs, ContainerBuilder $container) |
||
| 17 | { |
||
| 18 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 19 | $loader->load('services.xml'); |
||
| 20 | |||
| 21 | $configuration = new Configuration(); |
||
| 22 | $config = $this->processConfiguration($configuration, $configs); |
||
| 23 | |||
| 24 | foreach ($config['connections'] as $name => $connection) { |
||
| 25 | $connections[$name] = $container->resolveEnvPlaceholders($connection); |
||
| 26 | } |
||
| 27 | |||
| 28 | $container |
||
| 29 | ->getDefinition(Client::class) |
||
| 30 | ->replaceArgument(0, $connections) |
||
| 31 | ; |
||
| 34 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths