Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 80% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
15 | class Enum implements EnumExtensionInterface, RandomizerAwareExtensionInterface |
||
16 | { |
||
17 | use RandomizerAwareExtensionTrait; |
||
18 | |||
19 | /** |
||
20 | * @param class-string<UnitEnum> $enumClassname |
||
21 | * @throws ReflectionException |
||
22 | */ |
||
23 | 2 | public function value(string $enumClassname): string|int |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param class-string<UnitEnum> $enumClassname |
||
36 | * @throws ReflectionException |
||
37 | */ |
||
38 | 1 | public function element(string $enumClassname): UnitEnum |
|
49 |
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