mirror of
https://github.com/symfony/ux-map.git
synced 2026-03-23 23:42:07 +01:00
Remove explicit configuration twig.exception_controller from Kernel for testing
Related to https://github.com/symfony/symfony/pull/51273#discussion_r2359723452
This commit is contained in:
@@ -47,7 +47,10 @@ class TwigAppKernel extends Kernel
|
||||
'handle_all_throwables' => true,
|
||||
] : []),
|
||||
]);
|
||||
$container->loadFromExtension('twig', ['default_path' => __DIR__.'/templates', 'strict_variables' => true, 'exception_controller' => null]);
|
||||
$container->loadFromExtension('twig', [
|
||||
'default_path' => __DIR__.'/templates',
|
||||
'strict_variables' => true,
|
||||
]);
|
||||
$container->loadFromExtension('ux_map', []);
|
||||
|
||||
$container->setAlias('test.ux_map.renderers', 'ux_map.renderers')->setPublic(true);
|
||||
|
||||
@@ -49,7 +49,6 @@ class TwigComponentKernel extends Kernel
|
||||
$container->loadFromExtension('twig', [
|
||||
'default_path' => __DIR__.'/templates',
|
||||
'strict_variables' => true,
|
||||
'exception_controller' => null,
|
||||
]);
|
||||
$container->loadFromExtension('twig_component', [
|
||||
'defaults' => [],
|
||||
|
||||
Reference in New Issue
Block a user