Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function supports(mixed $value): bool |
||
16 | { |
||
17 | return in_array(gettype($value), [ |
||
18 | 'boolean', |
||
19 | 'integer', |
||
20 | 'double', |
||
21 | 'string', |
||
22 | 'NULL', |
||
23 | ]) || $value instanceof \UnitEnum; |
||
1 ignored issue
–
show
|
|||
24 | } |
||
34 |
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