Skip to content

Conversation

rosier
Copy link
Contributor

@rosier rosier commented Sep 3, 2025

This PR adds the config enable_native_lazy_objects: true to fix the deprecation on PHP 8.4+ and removes the config enable_lazy_ghost_objects as it's no longer needed.

With Doctrine ORM v3 installed the DoctrineBundle enables the lazy ghosts by default (doctrine/DoctrineBundle#1722) and in Doctrine ORM v3 the lazy ghosts are enabled unconditionally (doctrine/orm#10969).

Also the config enable_native_lazy_objects: true only has effect on PHP 8.4+ (doctrine/DoctrineBundle#1888).

@@ -11,9 +11,9 @@
"ext-iconv": "*",
"ext-pdo_sqlite": "*",
"doctrine/dbal": "^4.0",
"doctrine/doctrine-bundle": "^2.11",
"doctrine/doctrine-bundle": "^2.15",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should update to 2.16 because of doctrine/DoctrineBundle#1905

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants