Conditions | 4 |
Paths | 4 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
55 | protected function isParamArray(null|bool|int|float|string|array $param): bool |
||
|
|||
56 | { |
||
57 | if (!is_array($param)) { |
||
58 | return false; |
||
59 | } |
||
60 | |||
61 | if (count($param) != 2) { |
||
62 | return true; |
||
63 | } |
||
64 | |||
65 | if (!array_key_exists(1, $param)) { |
||
66 | return true; |
||
67 | } |
||
68 | |||
69 | return !in_array($param[1], static::PDO_TYPES, true); |
||
70 | } |
||
72 |
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