Skip to content

Commit 101ee84

Browse files
[FrameworkBundle][PhpUnitBridge] Configure doctrine/deprecations as expected
1 parent 3145062 commit 101ee84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)