Add support for Doctrine ORM 3 #3827
Annotations
3 errors and 1 warning
Run Psalm:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got '(Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)|Doctrine\ORM\EntityRepository<object>' (see https://psalm.dev/011)
|
Run Psalm:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type '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>' cannot be assigned type 'non-empty-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|array{type: int}>' (see https://psalm.dev/145)
|
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