Skip to content

docs: update changelog #282

docs: update changelog

docs: update changelog #282

Triggered via push November 25, 2023 08:49
Status Failure
Total duration 30s
Artifacts
Matrix: Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Static Analysis (ubuntu-latest, 8.1): src/ResourceIteratorAggregate.php#L37
Property loophp\iterators\ResourceIteratorAggregate<T>::$consumer ((Closure(resource): T)|null) does not accept (Closure(resource): T)|(Closure(mixed): (string|false)).
Static Analysis (ubuntu-latest, 8.1): src/ResourceIteratorAggregate.php#L49
Trying to invoke (Closure(resource): T)|null but it might not be a callable.
PossiblyInvalidPropertyAssignmentValue: src/ResourceIteratorAggregate.php#L37
src/ResourceIteratorAggregate.php:37:9: PossiblyInvalidPropertyAssignmentValue: $this->consumer with declared type 'Closure(resource):T:loophp\iterators\ResourceIteratorAggregate as mixed|null' cannot be assigned possibly different type 'Closure(resource):T:loophp\iterators\ResourceIteratorAggregate as mixed|pure-Closure(mixed):(false|string)' (see https://psalm.dev/147)
MissingClosureParamType: src/ResourceIteratorAggregate.php#L37
src/ResourceIteratorAggregate.php:37:40: MissingClosureParamType: Parameter $resource has no provided type (see https://psalm.dev/153)
PossiblyNullFunctionCall: src/ResourceIteratorAggregate.php#L49
src/ResourceIteratorAggregate.php:49:29: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
Static Analysis (ubuntu-latest, 8.1)
Process completed with exit code 1.
Static Analysis (ubuntu-latest, 8.1): src/IterableIterator.php#L34
Parameter #1 $callable of class loophp\iterators\ClosureIterator constructor expects callable(mixed): iterable, Closure(iterable): Generator<mixed, mixed, mixed, void> given.
Static Analysis (ubuntu-latest, 8.1): src/ResourceIteratorAggregate.php#L37
Property loophp\iterators\ResourceIteratorAggregate<T>::$consumer ((Closure(resource): T)|null) does not accept (Closure(resource): T)|(Closure(mixed): (string|false)).
Static Analysis (ubuntu-latest, 8.1): src/ResourceIteratorAggregate.php#L49
Trying to invoke (Closure(resource): T)|null but it might not be a callable.
Static Analysis (ubuntu-latest, 8.1)
Process completed with exit code 1.