Necessary refactorings for Property hooks #7779
Annotations
11 errors and 1 warning
|
Run static analysis with Vimeo Psalm:
src/Mapping/ClassMetadata.php#L544
src/Mapping/ClassMetadata.php:544: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#L544
src/Mapping/ClassMetadata.php:544: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#L572
src/Mapping/ClassMetadata.php:572:22: InvalidReturnType: The declared return type 'array<array-key, ReflectionProperty|null>' for Doctrine\ORM\Mapping\ClassMetadata::getPropertyAccessors is incorrect, got 'array<string, Doctrine\ORM\Mapping\PropertyAccessors\PropertyAccessor>' (see https://psalm.dev/011)
|
Run static analysis with Vimeo Psalm:
src/Mapping/ClassMetadata.php#L576
src/Mapping/ClassMetadata.php:576:16: InvalidReturnStatement: The inferred type 'array<string, Doctrine\ORM\Mapping\PropertyAccessors\PropertyAccessor>' does not match the declared return type 'array<array-key, ReflectionProperty|null>' for Doctrine\ORM\Mapping\ClassMetadata::getPropertyAccessors (see https://psalm.dev/128)
|
Run static analysis with Vimeo Psalm:
src/Mapping/ClassMetadata.php#L592
src/Mapping/ClassMetadata.php:592: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#L598
src/Mapping/ClassMetadata.php:598: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#L12
src/Mapping/LegacyReflectionFields.php:12: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#L12
src/Mapping/LegacyReflectionFields.php:12:55: 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#L45
src/Mapping/LegacyReflectionFields.php:45: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#L45
src/Mapping/LegacyReflectionFields.php:45: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