diff --git a/.github/workflows/symfony.yml b/.github/workflows/symfony.yml index bf2cd21..667a2e2 100644 --- a/.github/workflows/symfony.yml +++ b/.github/workflows/symfony.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - symfony-versions: ['5.4', '6.2', '6.3', '6.4'] + symfony-versions: ['5.4', '6.2', '6.3', '6.4', '7.0'] php-versions: ['8.0', '8.1', '8.2', '8.3'] exclude: - operating-system: ubuntu-latest @@ -33,6 +33,12 @@ jobs: - operating-system: ubuntu-latest symfony-versions: '6.4' php-versions: '8.0' + - operating-system: ubuntu-latest + symfony-versions: '7.0' + php-versions: '8.0' + - operating-system: ubuntu-latest + symfony-versions: '7.0' + php-versions: '8.1' name: PHP ${{ matrix.php-versions }} / Symfony ${{ matrix.symfony-versions }} Test on ${{ matrix.operating-system }} steps: - name: Checkout diff --git a/Tests/Fixtures/App/AppKernel.php b/Tests/Fixtures/App/AppKernel.php index 05b18d8..19daabd 100644 --- a/Tests/Fixtures/App/AppKernel.php +++ b/Tests/Fixtures/App/AppKernel.php @@ -83,7 +83,7 @@ public function getProjectDir(): string return __DIR__; } - protected function build(ContainerBuilder $container) + protected function build(ContainerBuilder $container): void { $container->register('logger', NullLogger::class); } diff --git a/composer.json b/composer.json index 4be4cd6..0b9b55b 100644 --- a/composer.json +++ b/composer.json @@ -14,15 +14,15 @@ "php": "^8.0", "ext-json": "*", "promphp/prometheus_client_php": "^2.6", - "symfony/http-kernel": "^5.4|^6.2", - "symfony/dependency-injection": "^5.4|^6.2", - "symfony/config": "^5.4|^6.2" + "symfony/http-kernel": "^5.4|^6.2|^7.0", + "symfony/dependency-injection": "^5.4|^6.2|^7.0", + "symfony/config": "^5.4|^6.2|^7.0" }, "require-dev": { "phpunit/phpunit": "^9.0|^10.0", - "symfony/yaml": "^5.4|^6.2", - "symfony/browser-kit": "^5.4|^6.2", - "symfony/framework-bundle": "^5.4|^6.2", + "symfony/yaml": "^5.4|^6.2|^7.0", + "symfony/browser-kit": "^5.4|^6.2|^7.0", + "symfony/framework-bundle": "^5.4|^6.2|^7.0", "friendsofphp/php-cs-fixer": "^3.17", "escapestudios/symfony2-coding-standard": "^3.11", "squizlabs/php_codesniffer": "^3.5"