From 07a311f306e5ddc4158840af00219b4de2ba9577 Mon Sep 17 00:00:00 2001 From: Kai Dederichs Date: Mon, 4 Dec 2023 16:44:57 +0100 Subject: [PATCH] feat: allow Symfony 7 --- .github/workflows/tests.yml | 7 ++++++- CHANGELOG.md | 2 ++ composer.json | 9 +++++++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 853fac9..aa3953a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.3', '7.4', '8.0'] + php: ['7.3', '7.4', '8.0', '8.2'] symfony-version: ['*'] include: - php: '7.4' @@ -24,6 +24,8 @@ jobs: symfony-version: 5.4.* - php: '8.0' symfony-version: 6.0.* + - php: '8.2' + symfony-version: 7.0.* steps: - name: Checkout code @@ -39,6 +41,9 @@ jobs: - name: Composer validate run: composer validate --strict --no-check-lock + - name: Flex Plugin + run: composer global config --no-plugins allow-plugins.symfony/flex true + - name: Symfony version if: matrix.symfony-version != '*' run: composer global require --no-progress symfony/flex && composer config extra.symfony.require ${{ matrix.symfony-version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index ae958e0..1d0f840 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +- Support Symfony 7 + ## 1.4.1 - 2022-01-14 - Support Symfony 6 diff --git a/composer.json b/composer.json index 8573e10..d34e5ef 100644 --- a/composer.json +++ b/composer.json @@ -12,11 +12,11 @@ ], "require": { "php": "^7.3 || ^8.0", - "symfony/stopwatch": "^3.4 || ^4.0 || ^5.0 || ^6.0", + "symfony/stopwatch": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0", "php-http/client-common": "^1.9 || ^2.0" }, "require-dev": { - "symfony/phpunit-bridge": "^5.3", + "symfony/phpunit-bridge": "^6.4.1", "guzzlehttp/psr7": "^2.1" }, "autoload": { @@ -37,6 +37,11 @@ "dev-master": "1.3-dev" } }, + "config": { + "allow-plugins": { + "symfony/flex": true + } + }, "prefer-stable": true, "minimum-stability": "dev" }