You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to
#1300 (comment),
this should be OK (meaning Symfony users should see the deprecations).
I'm doing this for 2 reasons:
- Having a link to the deprecation is great.
- consistency.
@@ -506,12 +506,20 @@ protected function ormLoad(array $config, ContainerBuilder $container)
506
506
}
507
507
508
508
if ($config['controller_resolver']['auto_mapping'] === null) {
509
-
trigger_deprecation('doctrine/doctrine-bundle', '2.12', 'The default value of "doctrine.orm.controller_resolver.auto_mapping" will be changed from `true` to `false`. Explicitly configure `true` to keep existing behaviour.');
'The default value of "doctrine.orm.controller_resolver.auto_mapping" will be changed from `true` to `false`. Explicitly configure `true` to keep existing behaviour.',
if ($config['controller_resolver']['auto_mapping'] === true) {
514
-
trigger_deprecation('doctrine/doctrine-bundle', '2.13', 'Enabling the controller resolver automapping feature has been deprecated. Symfony Mapped Route Parameters should be used as replacement.');
* Fetches repositories from the container or falls back to normal creation.
@@ -62,7 +62,14 @@ private function doGetRepository(EntityManagerInterface $entityManager, string $
62
62
}
63
63
64
64
if (! $repositoryinstanceof EntityRepository) {
65
-
trigger_deprecation('doctrine/doctrine-bundle', '2.11', 'The service "%s" of type "%s" should extend "%s", not doing so is deprecated.', $repositoryServiceId, get_debug_type($repository), EntityRepository::class);
0 commit comments