Skip to content

Minor adjustments

Minor adjustments #6

Triggered via push March 2, 2024 07:22
Status Failure
Total duration 43s
Artifacts

ci.yml

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

Annotations

34 errors
build (7.4.)
Process completed with exit code 8.
build (7.4.): src/JsonMapper.php#L214
Only booleans are allowed in an if condition, MagicSunday\JsonMapper\Converter\PropertyNameConverterInterface|null given.
build (7.4.): src/JsonMapper.php#L251
Method MagicSunday\JsonMapper::makeInstance() has parameter $constructorArguments with no value type specified in iterable type array.
build (7.4.): src/JsonMapper.php#L251
PHPDoc tag @param for parameter $constructorArguments with type mixed is not subtype of native type array|null.
build (7.4.): src/JsonMapper.php#L315
Method MagicSunday\JsonMapper::getReflectionClass() never returns null so it can be removed from the return type.
build (7.4.): src/JsonMapper.php#L319
Dead catch - ReflectionException is never thrown in the try block.
build (7.4.): src/JsonMapper.php#L337
Method MagicSunday\JsonMapper::extractPropertyAnnotations() should return array<Doctrine\Common\Annotations\Annotation> but returns array<object>.
build (7.4.): src/JsonMapper.php#L356
Method MagicSunday\JsonMapper::extractClassAnnotations() should return array<Doctrine\Common\Annotations\Annotation> but returns array<object>.
build (7.4.): src/JsonMapper.php#L487
Only booleans are allowed in a negated boolean, class-string|null given.
build (7.4.): src/JsonMapper.php#L516
Variable method call on object.
build (7.4.): src/JsonMapper.php#L603
Call to function method_exists() with Symfony\Component\PropertyInfo\Type and 'getCollectionValueT…' will always evaluate to true.
build (7.3): src/JsonMapper.php#L214
Only booleans are allowed in an if condition, MagicSunday\JsonMapper\Converter\PropertyNameConverterInterface|null given.
build (7.3): src/JsonMapper.php#L251
Method MagicSunday\JsonMapper::makeInstance() has parameter $constructorArguments with no value type specified in iterable type array.
build (7.3): src/JsonMapper.php#L251
PHPDoc tag @param for parameter $constructorArguments with type mixed is not subtype of native type array|null.
build (7.3): src/JsonMapper.php#L315
Method MagicSunday\JsonMapper::getReflectionClass() never returns null so it can be removed from the return type.
build (7.3): src/JsonMapper.php#L319
Dead catch - ReflectionException is never thrown in the try block.
build (7.3): src/JsonMapper.php#L337
Method MagicSunday\JsonMapper::extractPropertyAnnotations() should return array<Doctrine\Common\Annotations\Annotation> but returns array<object>.
build (7.3): src/JsonMapper.php#L356
Method MagicSunday\JsonMapper::extractClassAnnotations() should return array<Doctrine\Common\Annotations\Annotation> but returns array<object>.
build (7.3): src/JsonMapper.php#L487
Only booleans are allowed in a negated boolean, class-string|null given.
build (7.3): src/JsonMapper.php#L516
Variable method call on object.
build (7.3): src/JsonMapper.php#L603
Call to function method_exists() with Symfony\Component\PropertyInfo\Type and 'getCollectionValueT…' will always evaluate to true.
build (7.3)
Process completed with exit code 1.
build (8.0)
Process completed with exit code 8.
build (8.0)
Process completed with exit code 2.
build (8.0): src/JsonMapper.php#L214
Only booleans are allowed in an if condition, MagicSunday\JsonMapper\Converter\PropertyNameConverterInterface|null given.
build (8.0): src/JsonMapper.php#L251
Method MagicSunday\JsonMapper::makeInstance() has parameter $constructorArguments with no value type specified in iterable type array.
build (8.0): src/JsonMapper.php#L251
PHPDoc tag @param for parameter $constructorArguments with type mixed is not subtype of native type array|null.
build (8.0): src/JsonMapper.php#L315
Method MagicSunday\JsonMapper::getReflectionClass() never returns null so it can be removed from the return type.
build (8.0): src/JsonMapper.php#L319
Dead catch - ReflectionException is never thrown in the try block.
build (8.0): src/JsonMapper.php#L337
Method MagicSunday\JsonMapper::extractPropertyAnnotations() should return array<Doctrine\Common\Annotations\Annotation> but returns array<object>.
build (8.0): src/JsonMapper.php#L356
Method MagicSunday\JsonMapper::extractClassAnnotations() should return array<Doctrine\Common\Annotations\Annotation> but returns array<object>.
build (8.0): src/JsonMapper.php#L422
Call to function method_exists() with ReflectionProperty and 'getDefaultValue' will always evaluate to true.
build (8.0): src/JsonMapper.php#L487
Only booleans are allowed in a negated boolean, class-string|null given.
build (8.0): src/JsonMapper.php#L516
Variable method call on object.