Skip to content

Fix tests

Fix tests #11

Triggered via push March 2, 2024 08:36
Status Failure
Total duration 39s
Artifacts

ci.yml

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

Annotations

24 errors
build (8.3): src/JsonMapper.php#L253
Method MagicSunday\JsonMapper::makeInstance() has parameter $constructorArguments with no value type specified in iterable type array.
build (8.3): src/JsonMapper.php#L317
Method MagicSunday\JsonMapper::getReflectionClass() never returns null so it can be removed from the return type.
build (8.3): src/JsonMapper.php#L321
Dead catch - ReflectionException is never thrown in the try block.
build (8.3): src/JsonMapper.php#L424
Call to function method_exists() with ReflectionProperty and 'getDefaultValue' will always evaluate to true.
build (8.3): src/JsonMapper.php#L518
Variable method call on object.
build (8.3): src/JsonMapper.php#L606
Call to function method_exists() with Symfony\Component\PropertyInfo\Type and 'getCollectionValueT…' will always evaluate to true.
build (8.3): src/JsonMapper.php#L607
Call to an undefined method Symfony\Component\PropertyInfo\Type::getCollectionValueType().
build (8.3)
Process completed with exit code 1.
build (8.2): src/JsonMapper.php#L253
Method MagicSunday\JsonMapper::makeInstance() has parameter $constructorArguments with no value type specified in iterable type array.
build (8.2): src/JsonMapper.php#L317
Method MagicSunday\JsonMapper::getReflectionClass() never returns null so it can be removed from the return type.
build (8.2): src/JsonMapper.php#L321
Dead catch - ReflectionException is never thrown in the try block.
build (8.2): src/JsonMapper.php#L424
Call to function method_exists() with ReflectionProperty and 'getDefaultValue' will always evaluate to true.
build (8.2): src/JsonMapper.php#L518
Variable method call on object.
build (8.2): src/JsonMapper.php#L606
Call to function method_exists() with Symfony\Component\PropertyInfo\Type and 'getCollectionValueT…' will always evaluate to true.
build (8.2): src/JsonMapper.php#L607
Call to an undefined method Symfony\Component\PropertyInfo\Type::getCollectionValueType().
build (8.2)
Process completed with exit code 1.
build (8.1): src/JsonMapper.php#L253
Method MagicSunday\JsonMapper::makeInstance() has parameter $constructorArguments with no value type specified in iterable type array.
build (8.1): src/JsonMapper.php#L317
Method MagicSunday\JsonMapper::getReflectionClass() never returns null so it can be removed from the return type.
build (8.1): src/JsonMapper.php#L321
Dead catch - ReflectionException is never thrown in the try block.
build (8.1): src/JsonMapper.php#L424
Call to function method_exists() with ReflectionProperty and 'getDefaultValue' will always evaluate to true.
build (8.1): src/JsonMapper.php#L518
Variable method call on object.
build (8.1): src/JsonMapper.php#L606
Call to function method_exists() with Symfony\Component\PropertyInfo\Type and 'getCollectionValueT…' will always evaluate to true.
build (8.1): src/JsonMapper.php#L607
Call to an undefined method Symfony\Component\PropertyInfo\Type::getCollectionValueType().
build (8.1)
Process completed with exit code 1.