mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-17 13:15:04 +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\Config\Loader\LoaderInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\HttpKernel\Kernel;
|
use Symfony\Component\HttpKernel\Kernel;
|
||||||
|
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
|
||||||
|
|
||||||
class IntegrationTest extends TestCase
|
class IntegrationTest extends TestCase
|
||||||
{
|
{
|
||||||
|
@ -42,9 +43,15 @@ class IntegrationKernel extends Kernel
|
||||||
protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)
|
protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)
|
||||||
{
|
{
|
||||||
$container->setParameter('kernel.secret', '1234');
|
$container->setParameter('kernel.secret', '1234');
|
||||||
|
$container->setParameter('router.utf8', 'true');
|
||||||
#$container->setParameter('framework.router.utf8', 'true');
|
#$container->setParameter('framework.router.utf8', 'true');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#protected function configureRoutes(RouteCollectionBuilder $routes)
|
||||||
|
protected function configureRoutes(RoutingConfigurator $routes)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public function getCacheDir(): string
|
public function getCacheDir(): string
|
||||||
{
|
{
|
||||||
if (null === $this->cacheDir) {
|
if (null === $this->cacheDir) {
|
||||||
|
|
Loading…
Reference in a new issue