diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml index fbd1397..0b4b81f 100644 --- a/.github/workflows/qa.yaml +++ b/.github/workflows/qa.yaml @@ -17,7 +17,7 @@ jobs: - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: 7.1 + php-version: 7.4 coverage: none tools: composer:v2, cs2pr, php-cs-fixer diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4aeade0..41e7c27 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -58,6 +58,9 @@ jobs: - php: '8.0' symfony: '5.2.*' phpstan: .phpstan/symfony_5.neon + - php: '8.0' + symfony: '6.0.*' + phpstan: .phpstan/symfony_6.neon steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.phpstan/symfony_5.neon b/.phpstan/symfony_5.neon index 3181b82..8eaa243 100644 --- a/.phpstan/symfony_5.neon +++ b/.phpstan/symfony_5.neon @@ -1,4 +1,4 @@ -# config for Symfone 5.0 - 5.2 +# config for Symfony 5.0 - 5.2 includes: - default.neon diff --git a/.phpstan/symfony_6.neon b/.phpstan/symfony_6.neon new file mode 100644 index 0000000..cbd2b93 --- /dev/null +++ b/.phpstan/symfony_6.neon @@ -0,0 +1,4 @@ +# config for Symfony 6.0 + +includes: + - symfony_5.neon diff --git a/composer.json b/composer.json index 54ed0fb..4e9d4a4 100644 --- a/composer.json +++ b/composer.json @@ -19,12 +19,12 @@ "ext-zlib": "*", "php": ">=7.1.0", "geoip2/geoip2": "~2.0", - "symfony/http-kernel": "~2.8|~3.0|~4.0|~5.0", - "symfony/dependency-injection": "~2.8|~3.0|~4.0|~5.0", - "symfony/expression-language": "~2.8|~3.0|~4.0|~5.0", - "symfony/config": "~2.8|~3.0|~4.0|~5.0", - "symfony/console": "~2.8|~3.0|~4.0|~5.0", - "symfony/filesystem": "~2.8|~3.0|~4.0|~5.0" + "symfony/http-kernel": "~2.8|~3.0|~4.0|~5.0|~6.0", + "symfony/dependency-injection": "~2.8|~3.0|~4.0|~5.0|~6.0", + "symfony/expression-language": "~2.8|~3.0|~4.0|~5.0|~6.0", + "symfony/config": "~2.8|~3.0|~4.0|~5.0|~6.0", + "symfony/console": "~2.8|~3.0|~4.0|~5.0|~6.0", + "symfony/filesystem": "~2.8|~3.0|~4.0|~5.0|~6.0" }, "require-dev": { "phpunit/phpunit": "~7.0|~8.0|~9.0",