Necessary refactorings for Property hooks #7848
Annotations
11 errors
|
Run static analysis with Vimeo Psalm:
src/Mapping/ClassMetadata.php#L573
src/Mapping/ClassMetadata.php:573:22: MismatchingDocblockReturnType: Docblock has incorrect return type 'Doctrine\ORM\Mapping\LegacyReflectionFields|array<array-key, ReflectionProperty>', should be 'array<array-key, mixed>' (see https://psalm.dev/142)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L47
src/Mapping/LegacyReflectionFields.php:47:40: LessSpecificImplementedReturnType: The inherited return type 'ReflectionProperty|null' for ArrayAccess::offsetGet is more specific than the implemented return type for Doctrine\ORM\Mapping\LegacyReflectionFields::offsetget 'mixed' (see https://psalm.dev/166)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L73
src/Mapping/LegacyReflectionFields.php:73:70: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\Mapping\LegacyReflectionFields::getAccessibleProperty expects class-string, but parent type string provided (see https://psalm.dev/193)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L73
src/Mapping/LegacyReflectionFields.php:73:82: PossiblyNullArgument: Argument 2 of Doctrine\ORM\Mapping\LegacyReflectionFields::getAccessibleProperty cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L78
src/Mapping/LegacyReflectionFields.php:78:25: PossiblyNullArgument: Argument 1 of Doctrine\Persistence\Reflection\EnumReflectionProperty::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L93
src/Mapping/LegacyReflectionFields.php:93:25: PossiblyNullArgument: Argument 1 of Doctrine\ORM\Mapping\ReflectionEmbeddedProperty::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L93
src/Mapping/LegacyReflectionFields.php:93:54: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\Mapping\LegacyReflectionFields::getAccessibleProperty expects class-string, but parent type null|string provided (see https://psalm.dev/193)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L93
src/Mapping/LegacyReflectionFields.php:93:54: PossiblyNullArgument: Argument 1 of Doctrine\ORM\Mapping\LegacyReflectionFields::getAccessibleProperty cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L94
src/Mapping/LegacyReflectionFields.php:94:25: PossiblyNullArgument: Argument 2 of Doctrine\ORM\Mapping\ReflectionEmbeddedProperty::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L95
src/Mapping/LegacyReflectionFields.php:95:25: ArgumentTypeCoercion: Argument 3 of Doctrine\ORM\Mapping\ReflectionEmbeddedProperty::__construct expects class-string, but parent type null|string provided (see https://psalm.dev/193)
|
Loading