From f76b663c7fa036a47fa1b7e900c5d24d88b5ec5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Tue, 21 Apr 2026 11:02:34 +0200 Subject: [PATCH 1/2] feat: Drop support for PHP 8.2 --- .github/workflows/cs.yaml | 2 +- .github/workflows/mutation-testing.yaml | 2 +- .github/workflows/tests.yaml | 7 ++----- composer.json | 2 +- composer.lock | 6 +++--- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cs.yaml b/.github/workflows/cs.yaml index 718d8c2..260010d 100644 --- a/.github/workflows/cs.yaml +++ b/.github/workflows/cs.yaml @@ -20,7 +20,7 @@ jobs: strategy: matrix: operating-system: [ ubuntu-latest ] - php-version: [ '8.2' ] + php-version: [ '8.3' ] check: - makefile-target: 'cs-lint' name: 'CS' diff --git a/.github/workflows/mutation-testing.yaml b/.github/workflows/mutation-testing.yaml index d433948..78a8f8c 100644 --- a/.github/workflows/mutation-testing.yaml +++ b/.github/workflows/mutation-testing.yaml @@ -20,7 +20,7 @@ jobs: strategy: matrix: operating-system: [ ubuntu-latest ] - php-version: [ '8.2' ] + php-version: [ '8.3' ] coverage-driver: [ pcov ] name: Mutation testing with PHP ${{ matrix.php-version }} (${{ matrix.coverage-driver }}) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 9f32626..c63efdd 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -21,14 +21,11 @@ jobs: strategy: matrix: - php-version: [ '8.2', '8.3', '8.4', '8.5' ] + php-version: [ '8.3', '8.4', '8.5' ] coverage-driver: [ pcov ] symfony-require: - '6.4.*' - '7.4.*' - exclude: - - php-version: '8.1' - symfony-require: '^7' name: Unit tests on PHP ${{ matrix.php-version }} with Symfony ${{ matrix.symfony-require }} (${{ matrix.coverage-driver }}) @@ -77,7 +74,7 @@ jobs: strategy: matrix: - php-version: [ '8.2', '8.3', '8.4' ] # TODO: add PHP 8.5 + php-version: ['8.3', '8.4' ] # TODO: add PHP 8.5 coverage-driver: [ pcov ] name: End-to-end with PHP ${{ matrix.php-version }} (${{ matrix.coverage-driver }}) diff --git a/composer.json b/composer.json index 3940108..672f72f 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ } }, "require": { - "php": "^8.2", + "php": "^8.3", "infection/abstract-testframework-adapter": "^0.5.0", "infection/include-interceptor": "^0.2.0", "symfony/filesystem": "^6.4 || ^7.4", diff --git a/composer.lock b/composer.lock index 5e236fb..997c981 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "24a42db2450ea3ec3f8118d8282d3330", + "content-hash": "549bacae9b4c035736602fd4cf877dd7", "packages": [ { "name": "infection/abstract-testframework-adapter", @@ -4126,8 +4126,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^8.2" + "php": "^8.3" }, "platform-dev": {}, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" } From 9128cd85ad30b6301ab9dd3faa1d728b4d1a82ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Tue, 21 Apr 2026 11:04:15 +0200 Subject: [PATCH 2/2] add env variable --- .github/workflows/cs.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cs.yaml b/.github/workflows/cs.yaml index 260010d..a59782b 100644 --- a/.github/workflows/cs.yaml +++ b/.github/workflows/cs.yaml @@ -17,6 +17,9 @@ jobs: coding-standards: runs-on: ubuntu-latest + env: + PHP_CS_FIXER_IGNORE_ENV: '1' + strategy: matrix: operating-system: [ ubuntu-latest ]