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