| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class CacheRouteLoaderDecorator implements RouteLoaderInterface |
||
| 13 | { |
||
| 14 | use CreateCacheKeyTrait; |
||
| 15 | use MapCachePayloadToLoadedRoutesTrait; |
||
|
|
|||
| 16 | use MapLoadedRoutesToCachePayloadTrait; |
||
| 17 | |||
| 18 | private RouteLoaderInterface $routeLoader; |
||
| 19 | private CacheInterface $cache; |
||
| 20 | |||
| 21 | 3 | public function __construct(RouteLoaderInterface $routeLoader, CacheInterface $cache) |
|
| 25 | 3 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @throws JsonException |
||
| 29 | */ |
||
| 30 | 2 | public function load(string $className): Generator |
|
| 48 |
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