Skip to content

Commit 8d599d8

Browse files
committed
chore: fixes symfony dev tests
1 parent 75f7c15 commit 8d599d8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/Fixtures/app/AppKernel.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
use Symfony\Component\Config\Loader\LoaderInterface;
3838
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
3939
use Symfony\Component\DependencyInjection\ContainerBuilder;
40-
use Symfony\Component\ErrorHandler\ErrorRenderer\ErrorRendererInterface;
4140
use Symfony\Component\HttpClient\Messenger\PingWebhookMessageHandler;
4241
use Symfony\Component\HttpFoundation\Session\SessionFactory;
4342
use 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);

0 commit comments

Comments
 (0)