Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
21 | class CacheFacade implements CacheFacadeInterface |
||
22 | { |
||
23 | private CachePoolInterface|null $cachePool; |
||
24 | |||
25 | 5 | public function __construct( |
|
29 | } |
||
30 | |||
31 | 4 | public function getCachePsr6(string $cachePoolName): CacheItemPoolInterface |
|
32 | { |
||
33 | 4 | return $this->getCachePool()->getCachePsr6($cachePoolName); |
|
34 | } |
||
35 | |||
36 | 5 | public function getCachePsr16(string $cachePoolName): CacheItemPoolInterface |
|
37 | { |
||
38 | 5 | return $this->getCachePool()->getCachePsr16($cachePoolName); |
|
39 | } |
||
40 | |||
41 | 4 | public function getCacheSymfony(string $cachePoolName): AbstractAdapter |
|
42 | { |
||
43 | 4 | return $this->getCachePool()->getCacheSymfony($cachePoolName); |
|
44 | } |
||
45 | |||
46 | 5 | protected function getCachePool(): CachePoolInterface |
|
55 | } |
||
56 | } |
||
57 |
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