Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | final class UseCaseAttributeRegistry |
||
11 | { |
||
12 | private static UseCaseResolver $useCaseResolver; |
||
13 | |||
14 | 12 | public static function initialize( |
|
15 | UseCaseResolver $useCaseResolver, |
||
16 | ): void { |
||
17 | 12 | self::$useCaseResolver = $useCaseResolver; |
|
18 | } |
||
19 | |||
20 | /** |
||
21 | * @param class-string<EventSourcedUseCase> $useCaseClassName |
||
22 | */ |
||
23 | 10 | public static function getUseCaseDefinition(string $useCaseClassName): UseCaseDefinition |
|
26 | } |
||
27 | } |
||
28 |
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