Conditions | 2 |
Paths | 2 |
Total Lines | 21 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function load(array $configs, ContainerBuilder $container) |
||
18 | { |
||
19 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
20 | $loader->load('services.xml'); |
||
21 | |||
22 | $configuration = new Configuration(); |
||
23 | $config = $this->processConfiguration($configuration, $configs); |
||
24 | |||
25 | foreach ($config['connections'] as $name => $connection) { |
||
26 | $connections[$name] = $container->resolveEnvPlaceholders($connection); |
||
27 | } |
||
28 | |||
29 | $container |
||
30 | ->getDefinition(Client::class) |
||
31 | ->replaceArgument(0, $connections) |
||
32 | ->replaceArgument(2, $config['debug']) |
||
33 | ; |
||
34 | |||
35 | $container |
||
36 | ->getDefinition(RequestResponseListener::class) |
||
37 | ->replaceArgument(1, $config['excluded_prefixes']) |
||
38 | ; |
||
41 |
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