Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Deprecation info when running Symfony 7.3.1 with PHP 8.4.#61042

Unanswered
hantsy asked this question inQ&A
Discussion options

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 possiblein 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 impossiblein Doctrine ORM 4.0. (Configuration.php:671 called by App_KernelTestDebugContainer.php:891, https://github.com/doctrine/orm/pull/12005, package doctrine/orm)
You must be logged in to vote

Replies: 3 comments

Comment options

Symfony tests were updated by#60911; could you list which ones are still triggering the deprecation?

You must be logged in to vote
0 replies
Comment options

@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.

You must be logged in to vote
0 replies
Comment options

stof
Jul 7, 2025
Collaborator

This is because of the service definitions done in DoctrineBundle, not because of code in Symfony. The work is in progress indoctrine/DoctrineBundle#1898.

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
3 participants
@hantsy@stof@MatTheCat

[8]ページ先頭

©2009-2025 Movatter.jp