Skip to content

Add support for Doctrine ORM 3 #3822

Add support for Doctrine ORM 3

Add support for Doctrine ORM 3 #3822

Triggered via pull request January 14, 2025 10:39
@loic425loic425
synchronize #968
loic425:orm-3
Status Failure
Total duration 43s
Artifacts

build.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 11 warnings
PHP , Symfony , ORM
Process completed with exit code 3.
PHP 8.3, Symfony ^6.4, ORM 3.*
Process completed with exit code 1.
PHP 8.2, Symfony ^7.1, ORM 3.*
Process completed with exit code 1.
PHP 8.1, Symfony ^6.4, ORM 3.*
Process completed with exit code 1.
InvalidReturnStatement: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L51
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:51:16: InvalidReturnStatement: The inferred type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' does not match the declared return type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>&Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository (see https://psalm.dev/128)
MoreSpecificReturnType: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L57
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:57:8: MoreSpecificReturnType: The declared return type 'Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getOrCreateRepository is more specific than the inferred return type 'Doctrine\Persistence\ObjectRepository' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L64
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:64:16: LessSpecificReturnStatement: The type 'Doctrine\Persistence\ObjectRepository' is more general than the declared return type 'Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getOrCreateRepository (see https://psalm.dev/129)
PHP 8.3, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
InvalidReturnStatement: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L51
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:51:16: InvalidReturnStatement: The inferred type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' does not match the declared return type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>&Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository (see https://psalm.dev/128)
MoreSpecificReturnType: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L57
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:57:8: MoreSpecificReturnType: The declared return type 'Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getOrCreateRepository is more specific than the inferred return type 'Doctrine\Persistence\ObjectRepository' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L64
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:64:16: LessSpecificReturnStatement: The type 'Doctrine\Persistence\ObjectRepository' is more general than the declared return type 'Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getOrCreateRepository (see https://psalm.dev/129)
PHP 8.2, Symfony ^7.1, ORM 2.*
Process completed with exit code 2.
InvalidReturnStatement: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L51
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:51:16: InvalidReturnStatement: The inferred type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' does not match the declared return type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>&Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository (see https://psalm.dev/128)
MoreSpecificReturnType: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L57
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:57:8: MoreSpecificReturnType: The declared return type 'Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getOrCreateRepository is more specific than the inferred return type 'Doctrine\Persistence\ObjectRepository' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L64
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:64:16: LessSpecificReturnStatement: The type 'Doctrine\Persistence\ObjectRepository' is more general than the declared return type 'Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getOrCreateRepository (see https://psalm.dev/129)
PHP 8.1, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
InvalidReturnStatement: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L51
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:51:16: InvalidReturnStatement: The inferred type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' does not match the declared return type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>&Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository (see https://psalm.dev/128)
MoreSpecificReturnType: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L57
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:57:8: MoreSpecificReturnType: The declared return type 'Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getOrCreateRepository is more specific than the inferred return type 'Doctrine\Persistence\ObjectRepository' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L64
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:64:16: LessSpecificReturnStatement: The type 'Doctrine\Persistence\ObjectRepository' is more general than the declared return type 'Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getOrCreateRepository (see https://psalm.dev/129)
PHP 8.2, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
PHP 8.2, Symfony ^6.4, ORM 3.*
Process completed with exit code 1.
PHP 8.3, Symfony ^7.1, ORM 3.*
Process completed with exit code 1.
InvalidReturnStatement: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L51
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:51:16: InvalidReturnStatement: The inferred type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' does not match the declared return type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>&Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository (see https://psalm.dev/128)
MoreSpecificReturnType: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L57
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:57:8: MoreSpecificReturnType: The declared return type 'Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getOrCreateRepository is more specific than the inferred return type 'Doctrine\Persistence\ObjectRepository' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L64
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:64:16: LessSpecificReturnStatement: The type 'Doctrine\Persistence\ObjectRepository' is more general than the declared return type 'Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getOrCreateRepository (see https://psalm.dev/129)
PHP 8.3, Symfony ^7.1, ORM 2.*
Process completed with exit code 2.
PHP , Symfony , ORM
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3, Symfony ^6.4, ORM 3.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2, Symfony ^7.1, ORM 3.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.1, Symfony ^6.4, ORM 3.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3, Symfony ^6.4, ORM 2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2, Symfony ^7.1, ORM 2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.1, Symfony ^6.4, ORM 2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2, Symfony ^6.4, ORM 2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2, Symfony ^6.4, ORM 3.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3, Symfony ^7.1, ORM 3.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3, Symfony ^7.1, ORM 2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636