| Total Complexity | 3 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | final class ReductionIterableAggregate implements IteratorAggregate |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var Closure(W, T, TKey, iterable<TKey, T>): W |
||
| 27 | */ |
||
| 28 | private Closure $closure; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var W |
||
|
|
|||
| 32 | */ |
||
| 33 | private $initial; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var iterable<TKey, T> |
||
| 37 | */ |
||
| 38 | private iterable $iterable; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param iterable<TKey, T> $iterable |
||
| 42 | * @param (Closure(W, T, TKey, iterable<TKey, T>): W) $closure |
||
| 43 | * @param mixed $initial |
||
| 44 | */ |
||
| 45 | 1 | public function __construct(iterable $iterable, Closure $closure, $initial) |
|
| 46 | { |
||
| 47 | 1 | $this->iterable = $iterable; |
|
| 48 | 1 | $this->closure = $closure; |
|
| 49 | 1 | $this->initial = $initial; |
|
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return Generator<TKey, W> |
||
| 54 | */ |
||
| 55 | 1 | public function getIterator(): Generator |
|
| 63 | } |
||
| 64 | } |
||
| 66 |
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