Total Complexity | 8 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
23 | trait InteractsWithCache |
||
24 | { |
||
25 | /** |
||
26 | * @var \Psr\SimpleCache\CacheInterface |
||
27 | */ |
||
28 | protected $cache; |
||
29 | |||
30 | /** |
||
31 | * Get cache instance. |
||
32 | * |
||
33 | * @return \Psr\SimpleCache\CacheInterface |
||
34 | */ |
||
35 | public function getCache() |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * Set cache instance. |
||
51 | * |
||
52 | * @param \Psr\SimpleCache\CacheInterface $cache |
||
53 | * |
||
54 | * @return $this |
||
55 | */ |
||
56 | public function setCache(CacheInterface $cache) |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * @return \Symfony\Component\Cache\Simple\FilesystemCache |
||
65 | */ |
||
66 | protected function createDefaultCache() |
||
71 |
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