Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | final class CasesRepository extends AbstractRepository |
||
|
|||
9 | { |
||
10 | use UnsearchableRepositoryTrait; |
||
11 | |||
12 | protected $name = 'kases'; |
||
13 | |||
14 | public function findAll(array $filters = []): CollectionInterface |
||
15 | { |
||
16 | return $this->findOpen(); |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Returns all open cases. |
||
21 | * |
||
22 | * @return CollectionInterface |
||
23 | */ |
||
24 | public function findOpen(): CollectionInterface |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Returns all closed cases. |
||
33 | * |
||
34 | * @return CollectionInterface |
||
35 | */ |
||
36 | public function findClosed(): CollectionInterface |
||
43 |
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