mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-29 02:40:10 +02:00
feat: modernize, only php 8 support
This commit is contained in:
parent
139064e9c6
commit
9eca389fdc
|
@ -29,7 +29,7 @@ class IntegrationTest extends TestCase
|
|||
|
||||
class IntegrationKernel extends Kernel
|
||||
{
|
||||
use MicroKernelTrait;
|
||||
#use MicroKernelTrait;
|
||||
|
||||
private ?string $cacheDir = null;
|
||||
|
||||
|
@ -56,6 +56,12 @@ class IntegrationKernel extends Kernel
|
|||
{
|
||||
}
|
||||
|
||||
|
||||
/* Symfony > 5
|
||||
protected function configureRoutes(RoutingConfigurator $routes): void
|
||||
{
|
||||
}*/
|
||||
|
||||
public function getCacheDir(): string
|
||||
{
|
||||
if (null === $this->cacheDir) {
|
||||
|
@ -64,4 +70,9 @@ class IntegrationKernel extends Kernel
|
|||
|
||||
return $this->cacheDir;
|
||||
}
|
||||
|
||||
public function registerContainerConfiguration(LoaderInterface $loader)
|
||||
{
|
||||
// TODO: Implement registerContainerConfiguration() method.
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
],
|
||||
"require": {
|
||||
"php": ">= 8.0.2",
|
||||
"symfony/framework-bundle": "^4.4.20 || ^5.3 || ^6.0",
|
||||
"symfony/dependency-injection": "^4.4.20 || ^5.3 || ^6.0",
|
||||
"symfony/framework-bundle": "^4.4.31 || ^5.3 || ^6.0",
|
||||
"symfony/dependency-injection": "^4.4.31 || ^5.3 || ^6.0",
|
||||
"michelf/php-markdown": "~1.9"
|
||||
},
|
||||
"require-dev": {
|
||||
|
|
Loading…
Reference in a new issue