Issues (9)

src/Business/Pool/CachePoolInterface.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 *  This file is part of the Micro framework package.
7
 *
8
 *  (c) Stanislau Komar <[email protected]>
9
 *
10
 *  For the full copyright and license information, please view the LICENSE
11
 *  file that was distributed with this source code.
12
 */
13
14
namespace Micro\Plugin\Cache\Business\Pool;
15
16
use Psr\Cache\CacheException;
17
use Psr\Cache\CacheItemPoolInterface;
18
use Symfony\Component\Cache\Adapter\AbstractAdapter;
0 ignored issues
show
The type Symfony\Component\Cache\Adapter\AbstractAdapter was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
19
20
interface CachePoolInterface
21
{
22
    /**
23
     * @throws CacheException
24
     */
25
    public function getCachePsr16(string $cachePoolName): CacheItemPoolInterface;
26
27
    /**
28
     * @throws CacheException
29
     */
30
    public function getCachePsr6(string $cachePoolName): CacheItemPoolInterface;
31
32
    /**
33
     * @throws CacheException
34
     */
35
    public function getCacheSymfony(string $cachePoolName): AbstractAdapter;
36
}
37