From a5ed78e7eeec10b4a4ab13aebc49a9dcd448b48b Mon Sep 17 00:00:00 2001 From: Lukasz Falda Date: Wed, 17 Aug 2022 17:00:09 +0200 Subject: [PATCH] Support Symfony6 --- .github/workflows/phpunit.yml | 4 ++-- .github/workflows/static-analysis.yml | 1 + composer.json | 21 ++++++++++++--------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index e912966..718fa09 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -11,14 +11,14 @@ jobs: strategy: matrix: php-version: - - "7.3" - "7.4" - "8.0" + - "8.1" deps: - "normal" include: - deps: "low" - php-version: "7.3" + php-version: "7.4" steps: - name: "Checkout" diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 1659fd3..8b0c53e 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -13,6 +13,7 @@ jobs: php-version: - "7.4" - "8.0" + - "8.1" steps: - name: "Checkout" diff --git a/composer.json b/composer.json index ea6095d..997210d 100644 --- a/composer.json +++ b/composer.json @@ -4,20 +4,20 @@ "type": "symfony-bundle", "license": "MIT", "require": { - "php": ">=7.3", + "php": ">=7.4|^8.0", "ext-soap": "*", "marc-mabe/php-enum": "^3.0|^4.0", - "symfony/http-kernel": "^4.4 || ^5.0", + "symfony/http-kernel": "^5.4|^6.0", "webmozart/assert": "^1.3" }, "require-dev": { "roave/security-advisories": "dev-master", - "phpunit/phpunit": "^8.3", - "symfony/phpunit-bridge": "^5.0", - "phpro/grumphp": "^1.4.0", - "friendsofphp/php-cs-fixer": "^2.19", - "phpstan/phpstan": "^0.12.32", - "phpstan/phpstan-webmozart-assert": "^0.12.2" + "phpunit/phpunit": "^9.5", + "symfony/phpunit-bridge": "6.1.*", + "phpro/grumphp": "^1.5.0", + "friendsofphp/php-cs-fixer": "^3.4", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-webmozart-assert": "^1.0" }, "autoload": { "psr-4": { @@ -43,6 +43,9 @@ } }, "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "phpro/grumphp": true + } } }