Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | readonly class NoteFinderRepository |
||
9 | { |
||
10 | 37 | public function __construct( |
|
11 | private QueryFactory $queryFactory, |
||
12 | ) { |
||
13 | 37 | } |
|
14 | |||
15 | /** |
||
16 | * Return note with given id if it exists |
||
17 | * otherwise null. |
||
18 | * |
||
19 | * @param string|int $id |
||
20 | * |
||
21 | * @return NoteData |
||
22 | */ |
||
23 | 25 | public function findNoteById(string|int $id): NoteData |
|
31 | } |
||
32 | } |
||
33 |
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