From b7ab4db94c32b62ac9363565eb7eb6b5b5d6dcd3 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Fri, 10 Nov 2023 16:05:06 +0100 Subject: [PATCH 1/3] Allow symfony 7 --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index f11fdf63..5ed33c89 100644 --- a/composer.json +++ b/composer.json @@ -14,8 +14,8 @@ "ext-ctype": "*", "ext-json": "*", "composer-runtime-api": "^2.0.0", - "symfony/console": "^5.4.9 || ^6.0", - "symfony/finder": "^5.4 || ^6.0", + "symfony/console": "^5.4.9 || ^6.0 || ^7.0", + "symfony/finder": "^5.4 || ^6.0 || ^7.0", "twig/twig": "^2.14.0 || ^3.0.5", "webmozart/assert": "^1.10" }, @@ -35,9 +35,9 @@ "psalm/plugin-phpunit": "^0.18.4", "psalm/plugin-symfony": "^5.0.0", "rector/rector": "^0.18.0", - "symfony/filesystem": "^5.4 || ^6.0", - "symfony/process": "^5.4 || ^6.0", - "symfony/twig-bridge": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0 || ^7.0", + "symfony/process": "^5.4 || ^6.0 || ^7.0", + "symfony/twig-bridge": "^5.4 || ^6.0 || ^7.0", "symfony/ux-twig-component": "^2.2.0", "twig/cache-extra": "^3.2", "vimeo/psalm": "^5.2.0" From b753d57d32aa3d8c0d65738f7e703a8b7eed348e Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 22 Nov 2023 21:19:29 +0100 Subject: [PATCH 2/3] Add ci --- .github/workflows/test.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 83dd8e50..c5e1f3eb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,6 +11,9 @@ jobs: name: PHP ${{ matrix.php-version }} + ${{ matrix.dependencies }} runs-on: ubuntu-latest + env: + SYMFONY_REQUIRE: ${{matrix.symfony-require}} + strategy: matrix: php-version: @@ -19,9 +22,13 @@ jobs: - 8.2 - 8.3 dependencies: [highest] + symfony-require: [''] include: - php-version: 8.0 dependencies: lowest + - php-version: '8.2' + dependencies: highest + symfony-require: 7.0.* steps: - name: Checkout @@ -35,6 +42,13 @@ jobs: tools: composer:v2 ini-file: development + - name: Globally install symfony/flex + if: matrix.symfony-require != '' + run: | + composer config minimum-stability dev + composer global config --no-plugins allow-plugins.symfony/flex true + composer global require --no-progress --no-scripts --no-plugins symfony/flex + - name: Install Composer dependencies ${{ matrix.dependencies }} uses: ramsey/composer-install@v2 with: From 21f9475683d985ad612ac2b70991ae97c4c3afd5 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Sun, 3 Dec 2023 19:49:29 +0100 Subject: [PATCH 3/3] Remove composer-require-checker --- .github/workflows/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c5e1f3eb..77ee99df 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -48,6 +48,7 @@ jobs: composer config minimum-stability dev composer global config --no-plugins allow-plugins.symfony/flex true composer global require --no-progress --no-scripts --no-plugins symfony/flex + composer remove maglnet/composer-require-checker --dev --no-update - name: Install Composer dependencies ${{ matrix.dependencies }} uses: ramsey/composer-install@v2