Conditions | 2 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public static function liftN(callable $f, int $arity): CurriedFunction |
||
21 | { |
||
22 | $requiredArity = reflectionFunction($f)->getNumberOfRequiredParameters(); |
||
23 | |||
24 | if ($arity < $requiredArity) { |
||
25 | throw new \ArgumentCountError(sprintf('Declared arity of function is %d, but required number of arguments is %d.', $arity, $requiredArity)); |
||
26 | } |
||
27 | |||
28 | return new self($f, $arity, []); |
||
29 | } |
||
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