Skip to content

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Jan 8, 2026

Options enable_native_lazy_objects and enable_native_lazy_objects are removed from DoctrineBundle v3. They cannot be set.

Options enable_native_lazy_objects and enable_native_lazy_objects are removed from DoctrineBundle v3

DoctrineBundle v2.10+ is required
"require-dev": {
"composer/semver": "^3.0",
"doctrine/doctrine-bundle": "^2.5.0|^3.0.0",
"doctrine/doctrine-bundle": "^2.10|^3.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

There is a conflict rule for "doctrine/doctrine-bundle": "<2.10"

Comment on lines +179 to +180
if (InstalledVersions::satisfies(new VersionParser(), 'doctrine/doctrine-bundle', '^2.8')) {
$orm['enable_lazy_ghost_objects'] = true;
Copy link
Member Author

Choose a reason for hiding this comment

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

This condition is to not add the option for doctrine/doctrine-bundle 3

@GromNaN GromNaN requested review from derrabus and stof January 8, 2026 15:13
@GromNaN GromNaN added the Bug Bug Fix label Jan 9, 2026
@GromNaN GromNaN merged commit 1d16acf into symfony:1.x Jan 9, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Bug Fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants