Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
16 | class CategoryRepository extends AbstractRepository |
||
17 | { |
||
18 | use CategoryRepositoryTrait; |
||
19 | |||
20 | public function __construct(RegistryInterface $registry) |
||
23 | } |
||
24 | |||
25 | public function findOneByNumber(string $number): ?CategoryInterface |
||
26 | { |
||
27 | /** @var CategoryInterface $obj */ |
||
28 | $obj = $this->findOneBy([ |
||
29 | 'number' => $number, |
||
30 | ]); |
||
31 | |||
32 | return $obj; |
||
33 | } |
||
34 | |||
35 | public function findOneByExternalId(int $externalId): ?CategoryInterface |
||
41 | } |
||
42 | } |
||
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