| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | protected function configureRoutes(RoutingConfigurator $routes): void |
||
| 30 | { |
||
| 31 | $routes->import('../../../config/{routes}/' . $this->environment . '/*.yaml'); |
||
| 32 | $routes->import('../../../config/{routes}/*.yaml'); |
||
| 33 | |||
| 34 | if (\is_file(\dirname(__DIR__, 3) . '/config/routes.yaml')) { |
||
| 35 | $routes->import('../../../config/routes.yaml'); |
||
| 36 | } elseif (\is_file($path = \dirname(__DIR__, 3) . '/config/routes.php')) { |
||
| 37 | (require $path)($routes->withPath($path), $this); |
||
| 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