symfony / demo

Symfony Demo Application
https://symfony.com/
MIT License
2.46k stars 1.61k forks source link

Upgrade to Doctrine DBAL 4 and ORM 3 #1494

Closed dmaicher closed 6 months ago

dmaicher commented 6 months ago

Will check how to get rid of this deprecation


   44x: Doctrine\DBAL\Connection::setNestTransactionsWithSavepoints is deprecated and will be removed in 5.0 (Connection.php:948 called by App_KernelTestDebugContainer.php:611, https://github.com/doctrine/dbal/pull/5383, package doctrine/dbal)
    10x in BlogControllerTest::setUp from App\Tests\Controller\Admin
    5x in DefaultControllerTest::tearDown from App\Tests\Controller
    4x in BlogControllerTest::testNewComment from App\Tests\Controller
    2x in AddUserCommandTest::testCreateUserNonInteractive from App\Tests\Command
    2x in AddUserCommandTest::testCreateUserInteractive from App\Tests\Command
dmaicher commented 6 months ago

Needs https://github.com/dmaicher/doctrine-test-bundle/issues/281 first

javiereguiluz commented 6 months ago

I thought this would require more changes on our side, so I'm happy it doesn't. David, thanks a lot for taking care of this ... and also for making the needed updates in your great doctrine-test-bundle