Skip to content

Commit 48876a1

Browse files
[FrameworkBundle] Configure doctrine/deprecations as expected
1 parent 5bab536 commit 48876a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ class FrameworkBundle extends Bundle
9595
*/
9696
public function boot()
9797
{
98+
$_ENV['DOCTRINE_DEPRECATIONS'] = $_SERVER['DOCTRINE_DEPRECATIONS'] ??= 'trigger';
99+
98100
$handler = ErrorHandler::register(null, false);
99101
$this->container->get('debug.error_handler_configurator')->configure($handler);
100102

0 commit comments

Comments
 (0)