From fb6a43803f9586015fda18cd84680cd8c483e913 Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Fri, 1 Oct 2021 21:05:47 +0200 Subject: [PATCH] feat: modernize, only php 8 support --- Tests/IntegrationTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Tests/IntegrationTest.php b/Tests/IntegrationTest.php index 10c2316..47243fb 100644 --- a/Tests/IntegrationTest.php +++ b/Tests/IntegrationTest.php @@ -11,6 +11,7 @@ use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Kernel; +use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; class IntegrationTest extends TestCase { @@ -42,9 +43,15 @@ class IntegrationKernel extends Kernel protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader) { $container->setParameter('kernel.secret', '1234'); + $container->setParameter('router.utf8', 'true'); #$container->setParameter('framework.router.utf8', 'true'); } + #protected function configureRoutes(RouteCollectionBuilder $routes) + protected function configureRoutes(RoutingConfigurator $routes) + { + } + public function getCacheDir(): string { if (null === $this->cacheDir) {