From c9a406d63b87287e4087e8907073f291b57ce77f Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 27 Jun 2026 09:23:27 +0200 Subject: [PATCH] drop supprt for php 8.1 php 8.1 requires pest 2.0 that depends on a phpunit version that is affected by security advisories ("PKSA-z3gr-8qht-p93v") see: https://packagist.org/security-advisories/PKSA-z3gr-8qht-p93v --- .github/workflows/tests.yml | 2 +- composer.json | 2 +- composer.lock | 4 ++-- mago.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7460c79..fc85645 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - php: ['8.1', '8.2', '8.3', '8.4'] + php: ['8.2', '8.3', '8.4'] name: PHP ${{ matrix.php }} diff --git a/composer.json b/composer.json index 342d896..219073e 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { "pestphp/pest": "^3.0" diff --git a/composer.lock b/composer.lock index b1a268a..d9d3c5d 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": "c7b8b0e90d8a72bb5f82eed381fe5790", + "content-hash": "4ad5746bba8d796b72d04bd490c6942a", "packages": [], "packages-dev": [ { @@ -3934,7 +3934,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=8.1" + "php": ">=8.2" }, "platform-dev": {}, "plugin-api-version": "2.9.0" diff --git a/mago.toml b/mago.toml index 2bd66cf..feaff6c 100644 --- a/mago.toml +++ b/mago.toml @@ -2,7 +2,7 @@ # Welcome to Mago! # For full documentation, see https://mago.carthage.software/tools/overview version = "1" -php-version = "8.1.0" +php-version = "8.2.0" [source] workspace = "."