From 1b8a87313a9c874843712016ef7c8abbdf838f34 Mon Sep 17 00:00:00 2001 From: Fausto Quaggia Date: Sun, 7 Jul 2024 22:37:44 +0200 Subject: [PATCH] test: php versions --- .github/workflows/tests.yml | 2 +- composer.json | 3 ++- composer.lock | 6 ++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f6f229e..2d87b55 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.2] + php: [8.1, 8.2, 8.3] stability: [prefer-dist] name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 0fb1a9b..f432876 100644 --- a/composer.json +++ b/composer.json @@ -7,8 +7,9 @@ } }, "require": { + "php": ">=8.1", "guzzlehttp/guzzle": "^7.8", - "visus/cuid2": "^4.1" + "visus/cuid2": "^3.0 || ^4.1" }, "scripts": { "test": "vendor/bin/pest" diff --git a/composer.lock b/composer.lock index 86cd10c..7fa034f 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": "d05ade83fd7868d4c679a2b47cf2ce0a", + "content-hash": "1c816e9c7f294faaeba2a5405627a5af", "packages": [ { "name": "guzzlehttp/guzzle", @@ -4206,7 +4206,9 @@ "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, - "platform": [], + "platform": { + "php": ">=8.1" + }, "platform-dev": [], "plugin-api-version": "2.6.0" }