mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-05-27 02:52:28 +02:00
feat: modernize, only php 8 support
This commit is contained in:
parent
98cccda979
commit
fb6a43803f
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue