From 57d816804ce14b94fbf7e2e828c1e4ccfa0e91bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Mon, 19 Dec 2022 15:21:34 +0100 Subject: [PATCH 1/2] Update PHP requirements --- composer.json | 2 +- composer.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 56301554..c51ae0ba 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": "^8.1", + "php": "~8.1.0 || ~8.2.0", "stella-maris/clock": "^0.1.7" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 804e390f..40d3cb81 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": "58f157058b6d6734a35ea5153a99a868", + "content-hash": "b55f58b787b22ffa75edc0bcbaecfd64", "packages": [ { "name": "psr/clock", @@ -4390,7 +4390,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^8.1" + "php": "~8.1.0 || ~8.2.0" }, "platform-dev": [], "plugin-api-version": "2.3.0" From d55ed81d615d62a2ced66462826821a9949807c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Mon, 19 Dec 2022 15:22:33 +0100 Subject: [PATCH 2/2] Run tests on PHP 8.3 too --- .github/workflows/phpunit.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 0bfc2974..6979cbfd 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -19,6 +19,7 @@ jobs: - "development" php-version: - "8.1" + - "8.2" operating-system: - "ubuntu-latest" @@ -73,7 +74,7 @@ jobs: dependencies: - "locked" php-version: - - "8.2" + - "8.3" operating-system: - "ubuntu-latest"