Necessary refactorings for Property hooks #7781
Annotations
11 errors and 1 warning
|
Run static analysis with Vimeo Psalm:
src/Mapping/ClassMetadata.php#L542
src/Mapping/ClassMetadata.php:542:5: TooManyTemplateParams: Doctrine\ORM\Mapping\LegacyReflectionFields<string, ReflectionProperty> has too many template params, expecting 0 (see https://psalm.dev/184)
|
Run static analysis with Vimeo Psalm:
src/Mapping/ClassMetadata.php#L542
src/Mapping/ClassMetadata.php:542:12: TooManyTemplateParams: Doctrine\ORM\Mapping\LegacyReflectionFields<string, ReflectionProperty> has too many template params, expecting 0 (see https://psalm.dev/184)
|
Run static analysis with Vimeo Psalm:
src/Mapping/ClassMetadata.php#L570
src/Mapping/ClassMetadata.php:570:22: InvalidReturnType: The declared return type 'array<array-key, ReflectionProperty|null>' for Doctrine\ORM\Mapping\ClassMetadata::getReflectionProperties is incorrect, got 'Doctrine\ORM\Mapping\LegacyReflectionFields<string, ReflectionProperty>|array<string, ReflectionProperty>' (see https://psalm.dev/011)
|
Run static analysis with Vimeo Psalm:
src/Mapping/ClassMetadata.php#L574
src/Mapping/ClassMetadata.php:574:16: InvalidReturnStatement: The inferred type 'Doctrine\ORM\Mapping\LegacyReflectionFields<string, ReflectionProperty>|array<string, ReflectionProperty>' does not match the declared return type 'array<array-key, ReflectionProperty|null>' for Doctrine\ORM\Mapping\ClassMetadata::getReflectionProperties (see https://psalm.dev/128)
|
Run static analysis with Vimeo Psalm:
src/Mapping/ClassMetadata.php#L605
src/Mapping/ClassMetadata.php:605:54: InvalidReturnType: The declared return type 'ReflectionProperty|null' for Doctrine\ORM\Mapping\ClassMetadata::getSingleIdReflectionProperty is incorrect, got 'Doctrine\ORM\Mapping\PropertyAccessors\PropertyAccessor' (see https://psalm.dev/011)
|
Run static analysis with Vimeo Psalm:
src/Mapping/ClassMetadata.php#L611
src/Mapping/ClassMetadata.php:611:16: InvalidReturnStatement: The inferred type 'Doctrine\ORM\Mapping\PropertyAccessors\PropertyAccessor' does not match the declared return type 'ReflectionProperty|null' for Doctrine\ORM\Mapping\ClassMetadata::getSingleIdReflectionProperty (see https://psalm.dev/128)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L20
src/Mapping/LegacyReflectionFields.php:20:41: MissingTemplateParam: Doctrine\ORM\Mapping\LegacyReflectionFields has missing template params when extending ArrayAccess, expecting 2 (see https://psalm.dev/182)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L20
src/Mapping/LegacyReflectionFields.php:20:54: MissingTemplateParam: Doctrine\ORM\Mapping\LegacyReflectionFields has missing template params when extending IteratorAggregate, expecting 2 (see https://psalm.dev/182)
|
Run static analysis with Vimeo Psalm:
src/Mapping/LegacyReflectionFields.php#L65
src/Mapping/LegacyReflectionFields.php:65: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#L65
src/Mapping/LegacyReflectionFields.php:65:82: PossiblyNullArgument: Argument 2 of Doctrine\ORM\Mapping\LegacyReflectionFields::getAccessibleProperty cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Post Checkout code
The process '/usr/bin/git' failed with exit code 128
|
Loading