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 3737use Symfony \Component \Config \Loader \LoaderInterface ;
3838use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
3939use Symfony \Component \DependencyInjection \ContainerBuilder ;
40- use Symfony \Component \ErrorHandler \ErrorRenderer \ErrorRendererInterface ;
4140use Symfony \Component \HttpClient \Messenger \PingWebhookMessageHandler ;
4241use Symfony \Component \HttpFoundation \Session \SessionFactory ;
4342use Symfony \Component \HttpKernel \Kernel ;
@@ -238,9 +237,6 @@ class_exists(NativePasswordHasher::class) ? 'password_hashers' : 'encoders' => [
238237 }
239238
240239 $ twigConfig = ['strict_variables ' => '%kernel.debug% ' ];
241- if (interface_exists (ErrorRendererInterface::class)) {
242- $ twigConfig ['exception_controller ' ] = null ;
243- }
244240 $ c ->prependExtensionConfig ('twig ' , $ twigConfig );
245241
246242 $ useSymfonyListeners = (bool ) ($ _SERVER ['USE_SYMFONY_LISTENERS ' ] ?? false );
You can’t perform that action at this time.
0 commit comments