Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | 1 | public function load(array $configs, ContainerBuilder $container): void |
|
15 | { |
||
16 | 1 | $configuration = new Configuration(); |
|
|
|||
17 | 1 | $config = $this->processConfiguration(configuration: $configuration, configs: $configs); |
|
18 | |||
19 | 1 | $container->setParameter(name: 'response_profiler.enabled', value: (bool) $config['enabled']); |
|
20 | 1 | $container->setParameter(name: 'response_profiler.max_length', value: (int) $config['max_length']); |
|
21 | 1 | $container->setParameter(name: 'response_profiler.allowed_mime_types', value: (array) $config['allowed_mime_types']); |
|
22 | |||
23 | 1 | $loader = new YamlFileLoader(container: $container, locator: new FileLocator(paths: __DIR__ . '/../Resources/config')); |
|
24 | 1 | $loader->load(resource: 'services.yaml'); |
|
25 | } |
||
27 |
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