Skip to content

Commit

Permalink
Make deprecation warning about enable_lazy_ghost_objects more expli…
Browse files Browse the repository at this point in the history
…cit (#1731)
  • Loading branch information
evertharmeling committed Nov 23, 2023
1 parent ecfd2b3 commit 5a3a2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/DoctrineExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ protected function ormLoad(array $config, ContainerBuilder $container)
'Lazy ghost objects cannot be disabled for ORM 3.',
);
} elseif (PHP_VERSION_ID >= 80100) {
trigger_deprecation('doctrine/doctrine-bundle', '2.11', 'Not setting "enable_lazy_ghost_objects" to true is deprecated.');
trigger_deprecation('doctrine/doctrine-bundle', '2.11', 'Not setting "doctrine.orm.enable_lazy_ghost_objects" to true is deprecated.');
}

$options = ['auto_generate_proxy_classes', 'enable_lazy_ghost_objects', 'proxy_dir', 'proxy_namespace'];
Expand Down

0 comments on commit 5a3a2c1

Please sign in to comment.