feat: modernize, only php 8 support

This commit is contained in:
Christopher Georg 2021-10-02 21:37:43 +02:00
parent 139064e9c6
commit 9eca389fdc
2 changed files with 14 additions and 3 deletions

View file

@ -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.
}
}

View file

@ -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": {