From 69d4a8954e2868f9036df7c848062cbc8790b277 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 22 Apr 2026 11:09:56 +0100 Subject: [PATCH 1/4] Allow version 2 of `psr/http-message` --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0472c65..b555f31 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": "^7.2|^8.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1|^2", "ext-json": "*" }, "require-dev": { From 1fe0d2ae0c041d52269f9250b2a429581976b5a5 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 22 Apr 2026 11:12:07 +0100 Subject: [PATCH 2/4] Allow newer versions of Diactoros to allow testing on modern PHP --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b555f31..e5d6802 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ }, "require-dev": { "phpunit/phpunit": "^8.0", - "laminas/laminas-diactoros": "^2.4" + "laminas/laminas-diactoros": "^2.4|^3" }, "autoload": { "psr-4": { From efc835141427c2588ab8d72f8ffb025f072ee4da Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 22 Apr 2026 11:16:07 +0100 Subject: [PATCH 3/4] Update test matrix for newer PHPs --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8a864ec..78b32d4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: true matrix: - php: ['7.2', '7.3', '7.4'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] steps: - name: Checkout code uses: actions/checkout@v2 From eba66719f3cdc3b535d9c95101b9c88273bc8c52 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 22 Apr 2026 15:50:38 +0100 Subject: [PATCH 4/4] Ignore security advisories when resolving dependencies --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 78b32d4..a3331a3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,6 +18,6 @@ jobs: tools: composer:v2 coverage: none - name: Install dependencies - run: composer update --prefer-dist --no-interaction --no-progress + run: composer update --prefer-dist --no-interaction --no-security-blocking --no-progress - name: Execute tests run: vendor/bin/phpunit --coverage-text --verbose \ No newline at end of file