Add support for Doctrine ORM 3 #3825
Annotations
9 errors and 1 warning
Run Psalm:
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php#L35
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php:35:9: UndefinedThisPropertyFetch: Instance property Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository::$_em is not defined (see https://psalm.dev/041)
|
Run Psalm:
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php#L42
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php:42:13: UndefinedThisPropertyFetch: Instance property Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository::$_em is not defined (see https://psalm.dev/041)
|
Run Psalm:
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php#L81
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php:81:50: UndefinedThisPropertyFetch: Instance property Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository::$_class is not defined (see https://psalm.dev/041)
|
Run Psalm:
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php#L94
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php:94:71: PossiblyInvalidOperand: Cannot concatenate with a array<array-key, string>|string (see https://psalm.dev/163)
|
Run Psalm:
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php#L95
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php:95:36: PossiblyInvalidArgument: Argument 1 of Doctrine\ORM\QueryBuilder::setParameter expects int|string, but possibly different type array<array-key, string>|string provided (see https://psalm.dev/092)
|
Run Psalm:
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php#L104
src/Bundle/Doctrine/ORM/ResourceRepositoryTrait.php:104:50: UndefinedThisPropertyFetch: Instance property Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository::$_class is not defined (see https://psalm.dev/041)
|
Run Psalm:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L85
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:85:25: PropertyTypeCoercion: $metadata->associationMappings expects 'array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping>', parent type 'non-empty-array<string, Doctrine\ORM\Mapping\AssociationMapping>' provided (see https://psalm.dev/198)
|
Run Psalm:
src/Bundle/EventListener/ORMTranslatableListener.php#L61
src/Bundle/EventListener/ORMTranslatableListener.php:61:26: PossiblyNullReference: Cannot call method isAbstract on possibly null value (see https://psalm.dev/083)
|
Run Psalm
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading