-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
-
It seems native object cache is enabled in PHP 8.4, but the Symfony test does not embrace the changes.
Any suggestions here to fix the deprecation infos?
Calling Doctrine\ORM\Configuration::setProxyDir is deprecated and will not be possible in Doctrine ORM 4.0. (Configuration.php:68 called by App_KernelTestDebugContainer.php:879, https://github.com/doctrine/orm/pull/12005, package doctrine/orm) ... Disabling native lazy objects is deprecated and will be impossible in Doctrine ORM 4.0. (Configuration.php:671 called by App_KernelTestDebugContainer.php:891, https://github.com/doctrine/orm/pull/12005, package doctrine/orm)
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments
-
Symfony tests were updated by #60911; could you list which ones are still triggering the deprecation?
Beta Was this translation helpful? Give feedback.
All reactions
-
@MatTheCat Check the build stack here, https://github.com/hantsy/symfony-rest-sample/actions/runs/16094319202/job/45415033367 , it lists all deprecations raised in my tests.
Beta Was this translation helpful? Give feedback.
All reactions
-
This is because of the service definitions done in DoctrineBundle, not because of code in Symfony. The work is in progress in doctrine/DoctrineBundle#1898.
Beta Was this translation helpful? Give feedback.