From 7154be22c18362c1f53182764f871d5bfa0a8e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Hulard?= Date: Fri, 26 Sep 2025 12:25:35 +0200 Subject: [PATCH 1/2] chore: drop support for php < 8.1 Those versions are unsupported for a while now, it simplifies the CI and the code evolution. --- .github/workflows/continuous-integration.yml | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 1666af5..03b4f33 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -13,7 +13,7 @@ jobs: fail-fast: true matrix: operating-system: [ubuntu-latest, windows-latest, macOS-latest] - php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] + php-versions: ['8.1', '8.2', '8.3', '8.4'] composer-versions: ['composer:v2'] dependencies: ["lowest", "highest"] diff --git a/composer.json b/composer.json index 1e2165e..831bd22 100644 --- a/composer.json +++ b/composer.json @@ -43,8 +43,8 @@ "docs": "https://github.com/friends-of-phpspec/phpspec-code-coverage#phpspec-code-coverage" }, "require": { - "php": ">= 7.3", - "phpspec/phpspec": "^6.0 || ^7.0 || ^8.0", + "php": ">= 8.1", + "phpspec/phpspec": "^7.0 || ^8.0", "phpunit/php-code-coverage": "^9.2 || ^10.0 || ^11.0", "phpunit/php-file-iterator": "^3.0 || ^4.0 || ^5.0" }, From e2beb714d7c3658b03563c39cda5efdebc5902f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Hulard?= Date: Fri, 26 Sep 2025 14:39:48 +0200 Subject: [PATCH 2/2] chore(doc): update README with supported versions --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c44f5a7..cf8ea73 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ used as a single metric defining how good your tests are. | 4.x | `^7.1` | `^4.2 \|\| ^5.0 \|\| ^6.0` | `^5.0 \|\| ^6.0 \|\| ^7.0` | | 5.x | `>= 7.2` | `^5.0 \|\| ^6.0 \|\| ^7.0` | `^6.0 \|\| ^7.0 \|\| ^8.0` | | 6.x | `>= 7.3` | `^6.0 \|\| ^7.0` | `^9.2 \|\| ^10.0 \|\| ^11.0` | +| 7.x | `>= 8.1` | `^7.0 \|\| ^8.0` | `^9.2 \|\| ^10.0 \|\| ^11.0` | ## Change Log