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..64ae8c9 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ ], "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": { @@ -37,6 +37,11 @@ "dev-master": "1.3-dev" } }, + "config": { + "allow-plugins": { + "symfony/flex": true + } + }, "prefer-stable": true, "minimum-stability": "dev" }