Skip to content

Increase regression coverage for Json mapper, collection helpers, and array-shape property contracts #272

Increase regression coverage for Json mapper, collection helpers, and array-shape property contracts

Increase regression coverage for Json mapper, collection helpers, and array-shape property contracts #272

Triggered via pull request April 25, 2026 04:29
Status Success
Total duration 39s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
tests (8.0, lowest): src/Arrayy.php#L7322
Parameter #1 $object of method Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::extractValue() expects Arrayy\Arrayy<TKey of (int|string), T, TData of array<TKey of (int|string), T>>, int|string|T given.
tests (8.0, lowest): src/Arrayy.php#L7193
No error with identifier assign.propertyType is reported on line 7193.
tests (8.0, lowest): src/Arrayy.php#L6615
Property Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::$array (array<TKey of (int|string), T>) does not accept array<int|string, T>.
tests (8.0, lowest): src/Arrayy.php#L6583
Property Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::$array (array<TKey of (int|string), T>) does not accept array<int|string, T>.
tests (8.0, lowest): src/Arrayy.php#L6553
Property Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::$array (array<TKey of (int|string), T>) does not accept array<int|string, T>.
tests (8.0, lowest): src/Arrayy.php#L5270
No error with identifier assign.propertyType is reported on line 5270.
tests (8.0, lowest): src/Arrayy.php#L793
Method Arrayy\Arrayy::offsetGet() should return T|null but returns Arrayy\Arrayy<(int|string), T, array<T>>|T|null.
tests (8.0, lowest): src/Arrayy.php#L790
Unable to resolve the template type TAccessKey in call to method Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::__get()
tests (8.0, lowest): src/Arrayy.php#L790
Parameter #1 $key of method Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::__get() expects TKey of (int|string), TOffset of TKey of (int|string) given.
tests (8.0, lowest): src/Arrayy.php#L284
Parameter #2 $value of method Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::internalSet() expects T, array|T given.
tests (8.0, basic): src/Mapper/Json.php#L24
Property Arrayy\Mapper\Json::$classMap type has no value type specified in iterable type array.
tests (8.0, basic): src/Create.php#L20
Function Arrayy\create() should return Arrayy\Arrayy<int|string, mixed, array<int|string, mixed>> but returns Arrayy\Arrayy<(int|string), mixed, array<TKey of (int|string), T>>.
tests (8.0, basic): src/Collection/AbstractCollection.php#L324
Parameter #1 $value of method Arrayy\Arrayy<TKey of (int|string),T,array<TKey of (int|string), T>>::add() expects T, class-string|object given.
tests (8.0, basic): src/Collection/AbstractCollection.php#L320
Parameter #1 $value of method Arrayy\Arrayy<TKey of (int|string),T,array<TKey of (int|string), T>>::add() expects T, class-string|object given.
tests (8.0, basic): src/Arrayy.php#L7478
Parameter &$currentOffset by-ref type of method Arrayy\Arrayy::callAtPath() expects array<TKey of (int|string), T>|null, array<TKey of (int|string), array<TKey of (int|string), T>|T|null> given.
tests (8.0, basic): src/Arrayy.php#L7322
Parameter #1 $object of method Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::extractValue() expects Arrayy\Arrayy<TKey of (int|string), T, TData of array<TKey of (int|string), T>>, TKey of (int|string) given.
tests (8.0, basic): src/Arrayy.php#L793
Method Arrayy\Arrayy::offsetGet() should return T|null but returns Arrayy\Arrayy<(int|string), T, array<T>>|T|null.
tests (8.0, basic): src/Arrayy.php#L790
Unable to resolve the template type TAccessKey in call to method Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::__get()
tests (8.0, basic): src/Arrayy.php#L790
Parameter #1 $key of method Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::__get() expects TKey of (int|string), TOffset of TKey of (int|string) given.
tests (8.0, basic): src/Arrayy.php#L284
Parameter #2 $value of method Arrayy\Arrayy<TKey of (int|string),T,TData of array<TKey of (int|string), T>>::internalSet() expects T, array|T given.