fix: PHPStan #27
Annotations
11 errors
|
src/SerializerBuilder.php#L144
Parameter #1 $factory of method GoodPhp\Serialization\Serializer\Registry\Factory\FactoryTypeAdapterRegistryBuilder::addFactoryLast() expects GoodPhp\Serialization\TypeAdapter\TypeAdapterFactory<GoodPhp\Serialization\TypeAdapter\TypeAdapter<mixed, mixed>>, GoodPhp\Serialization\TypeAdapter\Json\FromPrimitiveJsonTypeAdapterFactory given.
|
src/TypeAdapter/Primitive/MapperMethods/MapperMethod/DefaultMapperMethodFactory.php#L15
Method GoodPhp\Serialization\TypeAdapter\Primitive\MapperMethods\MapperMethod\DefaultMapperMethodFactory::createTo() has parameter $method with generic interface GoodPhp\Reflection\Reflection\MethodReflection but does not specify its types: ReflectableType, DeclaringTypeReflection
|
src/TypeAdapter/Primitive/MapperMethods/MapperMethod/DefaultMapperMethodFactory.php#L31
Method GoodPhp\Serialization\TypeAdapter\Primitive\MapperMethods\MapperMethod\DefaultMapperMethodFactory::createFrom() has parameter $method with generic interface GoodPhp\Reflection\Reflection\MethodReflection but does not specify its types: ReflectableType, DeclaringTypeReflection
|
src/TypeAdapter/Primitive/MapperMethods/MapperMethod/DefaultMapperMethodFactory.php#L43
Method GoodPhp\Serialization\TypeAdapter\Primitive\MapperMethods\MapperMethod\DefaultMapperMethodFactory::create() has parameter $method with generic interface GoodPhp\Reflection\Reflection\MethodReflection but does not specify its types: ReflectableType, DeclaringTypeReflection
|
src/TypeAdapter/Primitive/MapperMethods/MapperMethod/InstanceMapperMethod.php#L19
Method GoodPhp\Serialization\TypeAdapter\Primitive\MapperMethods\MapperMethod\InstanceMapperMethod::__construct() has parameter $method with generic interface GoodPhp\Reflection\Reflection\MethodReflection but does not specify its types: ReflectableType, DeclaringTypeReflection
|
src/TypeAdapter/Primitive/MapperMethods/MapperMethod/InstanceMapperMethod.php#L62
Cannot call method type() on GoodPhp\Reflection\Reflection\FunctionParameterReflection<GoodPhp\Reflection\Reflection\MethodReflection<object, GoodPhp\Reflection\Reflection\Methods\HasMethods<object>>>|null.
|
src/TypeAdapter/Primitive/MapperMethods/MapperMethod/InstanceMapperMethod.php#L62
Parameter #2 $expectedType of class GoodPhp\Serialization\TypeAdapter\Exception\UnexpectedTypeException constructor expects GoodPhp\Reflection\Type\Type, GoodPhp\Reflection\Type\Type|null given.
|
src/TypeAdapter/Primitive/MapperMethods/MapperMethod/MapperMethodFactory.php#L11
Method GoodPhp\Serialization\TypeAdapter\Primitive\MapperMethods\MapperMethod\MapperMethodFactory::createTo() has parameter $method with generic interface GoodPhp\Reflection\Reflection\MethodReflection but does not specify its types: ReflectableType, DeclaringTypeReflection
|
src/TypeAdapter/Primitive/MapperMethods/MapperMethod/MapperMethodFactory.php#L17
Method GoodPhp\Serialization\TypeAdapter\Primitive\MapperMethods\MapperMethod\MapperMethodFactory::createFrom() has parameter $method with generic interface GoodPhp\Reflection\Reflection\MethodReflection but does not specify its types: ReflectableType, DeclaringTypeReflection
|
src/TypeAdapter/Primitive/MapperMethods/TypeAdapter/MapperMethodsPrimitiveTypeAdapter.php#L12
Class GoodPhp\Serialization\TypeAdapter\Primitive\MapperMethods\TypeAdapter\MapperMethodsPrimitiveTypeAdapter implements generic interface GoodPhp\Serialization\TypeAdapter\Primitive\PrimitiveTypeAdapter but does not specify its types: T
|
The logs for this run have expired and are no longer available.
Loading