From 8c6d57a3242697093b4a157381c2912658be2d87 Mon Sep 17 00:00:00 2001 From: George Steel Date: Tue, 21 Nov 2023 14:57:54 +0000 Subject: [PATCH] Add support for PHP 8.3 Signed-off-by: George Steel --- .laminas-ci.json | 3 +++ .../install-apcu-extension-via-pecl.sh | 4 ++-- composer.json | 10 +++++----- composer.lock | 20 +++++++++---------- 4 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.laminas-ci.json b/.laminas-ci.json index 510a9ea..ea0b9a0 100644 --- a/.laminas-ci.json +++ b/.laminas-ci.json @@ -1,4 +1,7 @@ { + "ignore_php_platform_requirements": { + "8.3": true + }, "extensions": [ "apcu" ], diff --git a/.laminas-ci/install-apcu-extension-via-pecl.sh b/.laminas-ci/install-apcu-extension-via-pecl.sh index 85bf6b3..ce77199 100755 --- a/.laminas-ci/install-apcu-extension-via-pecl.sh +++ b/.laminas-ci/install-apcu-extension-via-pecl.sh @@ -2,8 +2,8 @@ PHP_VERSION="$1" -if ! [[ "${PHP_VERSION}" =~ 8\.2 ]]; then - echo "APCu is only installed from pecl for PHP 8.2, ${PHP_VERSION} detected." +if ! [[ "${PHP_VERSION}" =~ 8\.3 ]]; then + echo "APCu is only installed from pecl for PHP 8.3, ${PHP_VERSION} detected." exit 0; fi diff --git a/composer.json b/composer.json index 5c26743..cd82c5b 100644 --- a/composer.json +++ b/composer.json @@ -33,20 +33,20 @@ } }, "require": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "dflydev/fig-cookies": "^3.0.0", "mezzio/mezzio-session": "^1.4", "psr/cache": "^1.0 || ^2.0 || ^3.0", "psr/container": "^1.0 || ^2.0 || ^3.0" }, "require-dev": { - "laminas/laminas-cache": "^3.9", + "laminas/laminas-cache": "^3.9.1", "laminas/laminas-cache-storage-adapter-apcu": "^2.4", "laminas/laminas-coding-standard": "~2.5.0", - "laminas/laminas-diactoros": "^3.0", - "phpunit/phpunit": "^10.1.1", + "laminas/laminas-diactoros": "^3.3", + "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "^0.18.4", - "vimeo/psalm": "^5.9" + "vimeo/psalm": "^5.15" }, "suggest": { "psr/cache-implementation": "This package requires a PSR-6 CacheItemPoolInterface implementation." diff --git a/composer.lock b/composer.lock index 2df3c64..a1cdfc7 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": "f962705b3ab99ca98c5cb7e31416577b", + "content-hash": "0943486a7cd15ce2ba643d288fb4c723", "packages": [ { "name": "dflydev/fig-cookies", @@ -70,22 +70,22 @@ }, { "name": "mezzio/mezzio-session", - "version": "1.13.0", + "version": "1.14.0", "source": { "type": "git", "url": "https://github.com/mezzio/mezzio-session.git", - "reference": "6fda1a10abf5c1e83e21a08beac199c670c8be34" + "reference": "e115c7b4f9c8f3f7b53003ac03198a4c83988ca9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mezzio/mezzio-session/zipball/6fda1a10abf5c1e83e21a08beac199c670c8be34", - "reference": "6fda1a10abf5c1e83e21a08beac199c670c8be34", + "url": "https://api.github.com/repos/mezzio/mezzio-session/zipball/e115c7b4f9c8f3f7b53003ac03198a4c83988ca9", + "reference": "e115c7b4f9c8f3f7b53003ac03198a4c83988ca9", "shasum": "" }, "require": { "dflydev/fig-cookies": "^3.0", "ext-json": "*", - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "psr/container": "^1.0 || ^2.0", "psr/http-server-middleware": "^1.0" }, @@ -94,10 +94,10 @@ }, "require-dev": { "laminas/laminas-coding-standard": "~2.5.0", - "laminas/laminas-diactoros": "^2.24", - "phpunit/phpunit": "^10.0.16", + "laminas/laminas-diactoros": "^3.3.0", + "phpunit/phpunit": "^10.4.2", "psalm/plugin-phpunit": "^0.18.4", - "vimeo/psalm": "^5.8" + "vimeo/psalm": "^5.15" }, "suggest": { "mezzio/mezzio-csrf": "^1.0 || ^1.0-dev for CSRF protection capabilities", @@ -142,7 +142,7 @@ "type": "community_bridge" } ], - "time": "2023-03-20T16:09:29+00:00" + "time": "2023-11-21T14:54:48+00:00" }, { "name": "psr/cache",