Skip to content

Improve tracing defaults #209

Improve tracing defaults

Improve tracing defaults #209

Triggered via push November 18, 2025 19:08
Status Failure
Total duration 1m 30s
Artifacts
Matrix: Linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Linter (8.4, ubuntu-latest): src/Type/ClassType/ClassToArrayType.php#L90
Method TypeLang\Mapper\Type\ClassType\ClassToArrayType::cast() should return TResult of array|object = array<mixed>|object but returns stdClass.
Linter (8.4, ubuntu-latest): src/Type/ClassType/ClassToArrayType.php#L87
Method TypeLang\Mapper\Type\ClassType\ClassToArrayType::cast() should return TResult of array|object = array<mixed>|object but returns array<mixed>.
Linter (8.4, ubuntu-latest): src/Type/ClassType/ClassToArrayType.php#L76
Method TypeLang\Mapper\Type\ClassType\ClassToArrayType::cast() should return TResult of array|object = array<mixed>|object but returns array<mixed>|object.
Linter (8.4, ubuntu-latest): src/Type/ClassType.php#L30
Parameter $normalize of method TypeLang\Mapper\Type\AsymmetricType<TResult of array|object = array<mixed>|object,TObject of object = object>::__construct() expects TypeLang\Mapper\Type\TypeInterface<TResult of array|object = array<mixed>|object>, TypeLang\Mapper\Type\ClassType\ClassToArrayType<TObject of object = object, array<mixed>|object> given.
Linter (8.4, ubuntu-latest): src/Type/Builder/DateTimeTypeBuilder.php#L44
Default value of the parameter #2 $dateInterfaceMapping (array<string, string>) of method TypeLang\Mapper\Type\Builder\DateTimeTypeBuilder::__construct() is incompatible with type array<class-string<DateTimeInterface>, class-string<DateTimeInterface>>.
Linter (8.4, ubuntu-latest): src/Type/Builder/BackedEnumTypeBuilder.php#L65
Method TypeLang\Mapper\Type\Builder\BackedEnumTypeBuilder::build() should return TypeLang\Mapper\Type\TypeInterface<TResult = mixed> but returns TypeLang\Mapper\Type\BackedEnumType<BackedEnum>.
Linter (8.4, ubuntu-latest): src/Type/BackedEnumType.php#L24
Parameter $normalize of method TypeLang\Mapper\Type\AsymmetricType<value-of<TEnum of BackedEnum = BackedEnum>,TEnum of BackedEnum = BackedEnum>::__construct() expects TypeLang\Mapper\Type\TypeInterface<*NEVER*>, TypeLang\Mapper\Type\BackedEnumType\BackedEnumToScalarType<TEnum of BackedEnum = BackedEnum> given.
Linter (8.4, ubuntu-latest): src/Type/BackedEnumType.php#L24
Parameter $normalize of method TypeLang\Mapper\Type\AsymmetricType<value-of<TEnum of BackedEnum = BackedEnum>,TEnum of BackedEnum = BackedEnum>::__construct() contains unresolvable type.
Linter (8.4, ubuntu-latest): src/Platform/Platform.php#L83
Method TypeLang\Mapper\Platform\Platform::getTypeCoercers() should return iterable<TypeLang\Mapper\Coercer\TypeCoercerInterface, list<class-string<TypeLang\Mapper\Type\TypeInterface>>> but returns array<class-string<TypeLang\Mapper\Type\TypeInterface>, TypeLang\Mapper\Coercer\TypeCoercerInterface>.
Linter (8.4, ubuntu-latest): src/Platform/EmptyPlatform.php#L30
Return type (array<class-string<TypeLang\Mapper\Type\TypeInterface>, TypeLang\Mapper\Coercer\TypeCoercerInterface>) of method TypeLang\Mapper\Platform\EmptyPlatform::getTypeCoercers() should be compatible with return type (iterable<TypeLang\Mapper\Coercer\TypeCoercerInterface, list<class-string<TypeLang\Mapper\Type\TypeInterface>>>) of method TypeLang\Mapper\Platform\PlatformInterface::getTypeCoercers()