Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function load(array $configs, ContainerBuilder $container): void |
||
18 | { |
||
19 | $configDir = new FileLocator(__DIR__ . '/../../config'); |
||
20 | $loader = new YamlFileLoader($container, $configDir); |
||
21 | $loader->load('services.yaml'); |
||
22 | |||
23 | $configuration = new Configuration(); |
||
24 | $config = $this->processConfiguration($configuration, $configs); |
||
25 | |||
26 | $definition = $container->getDefinition(ViewDispatcherService::class); |
||
27 | $definition->setArgument(0, $config['default_view_mode']); |
||
28 | $definition->setArgument(1, $config['template_path']); |
||
29 | $definition->setArgument(2, $config['services']); |
||
30 | } |
||
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