| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | protected function configureContainer(ContainerConfigurator $container): void |
||
| 17 | { |
||
| 18 | $container->import('../../../config/{packages}/*.yaml'); |
||
| 19 | $container->import('../../../config/{packages}/' . $this->environment . '/*.yaml'); |
||
| 20 | |||
| 21 | if (\is_file(\dirname(__DIR__, 3) . '/config/services.yaml')) { |
||
| 22 | $container->import('../../../config/services.yaml'); |
||
| 23 | $container->import('../../../config/{services}_' . $this->environment . '.yaml'); |
||
| 24 | } elseif (\is_file($path = \dirname(__DIR__, 3) . '/config/services.php')) { |
||
| 25 | (require $path)($container->withPath($path), $this); |
||
| 26 | } |
||
| 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