File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 37
37
use Symfony \Component \Config \Loader \LoaderInterface ;
38
38
use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
39
39
use Symfony \Component \DependencyInjection \ContainerBuilder ;
40
- use Symfony \Component \ErrorHandler \ErrorRenderer \ErrorRendererInterface ;
41
40
use Symfony \Component \HttpClient \Messenger \PingWebhookMessageHandler ;
42
41
use Symfony \Component \HttpFoundation \Session \SessionFactory ;
43
42
use Symfony \Component \HttpKernel \Kernel ;
@@ -238,9 +237,6 @@ class_exists(NativePasswordHasher::class) ? 'password_hashers' : 'encoders' => [
238
237
}
239
238
240
239
$ twigConfig = ['strict_variables ' => '%kernel.debug% ' ];
241
- if (interface_exists (ErrorRendererInterface::class)) {
242
- $ twigConfig ['exception_controller ' ] = null ;
243
- }
244
240
$ c ->prependExtensionConfig ('twig ' , $ twigConfig );
245
241
246
242
$ useSymfonyListeners = (bool ) ($ _SERVER ['USE_SYMFONY_LISTENERS ' ] ?? false );
You can’t perform that action at this time.
0 commit comments