1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace Cycle\ORM; |
||
6 | |||
7 | /** |
||
8 | * Defines ability to locate entities based on scope parameters. |
||
9 | * |
||
10 | * @template TEntity |
||
11 | */ |
||
12 | interface RepositoryInterface |
||
13 | { |
||
14 | /** |
||
15 | * Find entity by the primary key value or return null. |
||
16 | * |
||
17 | * @return TEntity|null |
||
0 ignored issues
–
show
|
|||
18 | */ |
||
19 | public function findByPK(mixed $id): ?object; |
||
20 | |||
21 | /** |
||
22 | * Find entity using given scope (where). |
||
23 | * |
||
24 | * @return TEntity|null |
||
25 | */ |
||
26 | public function findOne(array $scope = []): ?object; |
||
27 | |||
28 | /** |
||
29 | * Find multiple entities using given scope and sort options. |
||
30 | * |
||
31 | * @return iterable<TEntity> |
||
32 | */ |
||
33 | public function findAll(array $scope = []): iterable; |
||
34 | } |
||
35 |
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