Skip to content

bump req to collections 2.1 #4

bump req to collections 2.1

bump req to collections 2.1 #4

Triggered via push October 3, 2023 10:59
Status Failure
Total duration 39s
Artifacts

php.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

15 errors
MoreSpecificReturnType: src/Trait/CollectionDecoratorTrait.php#L83
src/Trait/CollectionDecoratorTrait.php:83:16: MoreSpecificReturnType: The declared return type 'Doctrine\Common\Collections\Collection<array-key, mixed>' for Rekalogika\Collections\Decorator\Trait\CollectionDecoratorTrait::filter is more specific than the inferred return type 'Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed>' (see https://psalm.dev/070)
MixedArgumentTypeCoercion: src/Trait/CollectionDecoratorTrait.php#L87
src/Trait/CollectionDecoratorTrait.php:87:44: MixedArgumentTypeCoercion: Argument 1 of Doctrine\Common\Collections\Collection::filter expects Closure(T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed, TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key):bool, but parent type Closure provided (see https://psalm.dev/194)
MoreSpecificReturnType: src/Trait/CollectionDecoratorTrait.php#L93
src/Trait/CollectionDecoratorTrait.php:93:16: MoreSpecificReturnType: The declared return type 'Doctrine\Common\Collections\Collection<array-key, U:fn-rekalogika\collections\decorator\trait\collectiondecoratortrait::map as mixed>' for Rekalogika\Collections\Decorator\Trait\CollectionDecoratorTrait::map is more specific than the inferred return type 'Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, U:fn-rekalogika\collections\decorator\trait\collectiondecoratortrait::map as mixed>' (see https://psalm.dev/070)
MoreSpecificReturnType: src/Trait/CollectionDecoratorTrait.php#L102
src/Trait/CollectionDecoratorTrait.php:102:16: MoreSpecificReturnType: The declared return type 'array{0: Doctrine\Common\Collections\Collection<array-key, mixed>, 1: Doctrine\Common\Collections\Collection<array-key, mixed>}' for Rekalogika\Collections\Decorator\Trait\CollectionDecoratorTrait::partition is more specific than the inferred return type 'array{0: Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed>, 1: Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed>}' (see https://psalm.dev/070)
MixedArgumentTypeCoercion: src/Trait/CollectionDecoratorTrait.php#L106
src/Trait/CollectionDecoratorTrait.php:106:47: MixedArgumentTypeCoercion: Argument 1 of Doctrine\Common\Collections\Collection::partition expects Closure(TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed):bool, but parent type Closure provided (see https://psalm.dev/194)
lowest deps, PHP 8.2, ubuntu-latest
Process completed with exit code 2.
lowest deps, PHP 8.1, ubuntu-latest
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
MoreSpecificReturnType: src/Trait/CollectionDecoratorTrait.php#L83
src/Trait/CollectionDecoratorTrait.php:83:16: MoreSpecificReturnType: The declared return type 'Doctrine\Common\Collections\Collection<array-key, mixed>' for Rekalogika\Collections\Decorator\Trait\CollectionDecoratorTrait::filter is more specific than the inferred return type 'Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed>' (see https://psalm.dev/070)
MixedArgumentTypeCoercion: src/Trait/CollectionDecoratorTrait.php#L87
src/Trait/CollectionDecoratorTrait.php:87:44: MixedArgumentTypeCoercion: Argument 1 of Doctrine\Common\Collections\Collection::filter expects Closure(T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed, TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key):bool, but parent type Closure provided (see https://psalm.dev/194)
MoreSpecificReturnType: src/Trait/CollectionDecoratorTrait.php#L93
src/Trait/CollectionDecoratorTrait.php:93:16: MoreSpecificReturnType: The declared return type 'Doctrine\Common\Collections\Collection<array-key, U:fn-rekalogika\collections\decorator\trait\collectiondecoratortrait::map as mixed>' for Rekalogika\Collections\Decorator\Trait\CollectionDecoratorTrait::map is more specific than the inferred return type 'Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, U:fn-rekalogika\collections\decorator\trait\collectiondecoratortrait::map as mixed>' (see https://psalm.dev/070)
MoreSpecificReturnType: src/Trait/CollectionDecoratorTrait.php#L102
src/Trait/CollectionDecoratorTrait.php:102:16: MoreSpecificReturnType: The declared return type 'array{0: Doctrine\Common\Collections\Collection<array-key, mixed>, 1: Doctrine\Common\Collections\Collection<array-key, mixed>}' for Rekalogika\Collections\Decorator\Trait\CollectionDecoratorTrait::partition is more specific than the inferred return type 'array{0: Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed>, 1: Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed>}' (see https://psalm.dev/070)
MixedArgumentTypeCoercion: src/Trait/CollectionDecoratorTrait.php#L106
src/Trait/CollectionDecoratorTrait.php:106:47: MixedArgumentTypeCoercion: Argument 1 of Doctrine\Common\Collections\Collection::partition expects Closure(TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed):bool, but parent type Closure provided (see https://psalm.dev/194)
lowest deps, PHP 8.1, ubuntu-latest
Process completed with exit code 2.
highest deps, PHP 8.2, ubuntu-latest
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
highest deps, PHP 8.2, ubuntu-latest
The operation was canceled.