| Conditions | 3 |
| Paths | 2 |
| Total Lines | 21 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function load(array $configs, ContainerBuilder $container) |
||
| 19 | { |
||
| 20 | $configuration = $this->getConfiguration($configs, $container); |
||
| 21 | |||
| 22 | if (!isset($configuration) || empty($configuration)) { |
||
| 23 | throw new RuntimeException( |
||
| 24 | 'The configuration is not set correctly' |
||
| 25 | ); |
||
| 26 | } |
||
| 27 | |||
| 28 | $config = $this->processConfiguration($configuration, $configs); |
||
| 29 | |||
| 30 | $loader = new XmlFileLoader( |
||
| 31 | $container, |
||
| 32 | new FileLocator(__DIR__.'/../Resources/config') |
||
| 33 | ); |
||
| 34 | $loader->load('services.xml'); |
||
| 35 | |||
| 36 | $definition = $container->getDefinition('bugloos_query_filter.query_filter'); |
||
| 37 | $definition->setArgument(3, $config['default_cache_time']); |
||
| 38 | $definition->setArgument(4, $config['separator']); |
||
| 39 | } |
||
| 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