Apply php-cs-fixer rules #8
Annotations
16 errors
build (7.4):
src/JsonMapper.php#L253
Method MagicSunday\JsonMapper::makeInstance() has parameter $constructorArguments with no value type specified in iterable type array.
|
build (7.4):
src/JsonMapper.php#L317
Method MagicSunday\JsonMapper::getReflectionClass() never returns null so it can be removed from the return type.
|
build (7.4):
src/JsonMapper.php#L321
Dead catch - ReflectionException is never thrown in the try block.
|
build (7.4):
src/JsonMapper.php#L518
Variable method call on object.
|
build (7.4):
src/JsonMapper.php#L606
Call to function method_exists() with Symfony\Component\PropertyInfo\Type and 'getCollectionValueT…' will always evaluate to true.
|
build (7.4):
src/JsonMapper.php#L607
Call to deprecated method getCollectionValueType() of class Symfony\Component\PropertyInfo\Type:
since Symfony 5.3, use "getCollectionValueTypes()" instead
|
build (7.4)
Process completed with exit code 1.
|
build (8.0)
Process completed with exit code 8.
|
build (8.0):
src/JsonMapper.php#L253
Method MagicSunday\JsonMapper::makeInstance() has parameter $constructorArguments with no value type specified in iterable type array.
|
build (8.0):
src/JsonMapper.php#L317
Method MagicSunday\JsonMapper::getReflectionClass() never returns null so it can be removed from the return type.
|
build (8.0):
src/JsonMapper.php#L321
Dead catch - ReflectionException is never thrown in the try block.
|
build (8.0):
src/JsonMapper.php#L424
Call to function method_exists() with ReflectionProperty and 'getDefaultValue' will always evaluate to true.
|
build (8.0):
src/JsonMapper.php#L518
Variable method call on object.
|
build (8.0):
src/JsonMapper.php#L606
Call to function method_exists() with Symfony\Component\PropertyInfo\Type and 'getCollectionValueT…' will always evaluate to true.
|
build (8.0):
src/JsonMapper.php#L607
Call to an undefined method Symfony\Component\PropertyInfo\Type::getCollectionValueType().
|
build (8.0)
Process completed with exit code 1.
|