From 23405910fe5bfd21c3f8ac9442edf31a9876aeeb Mon Sep 17 00:00:00 2001 From: Paul Gilzow Date: Fri, 22 Nov 2024 13:26:26 -0600 Subject: [PATCH 1/3] updates min php version to 7.4 to match the oldest version platform.sh supports --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 5632448..44db4b3 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ } ], "require": { - "php": ">=7.2" + "php": ">=7.4" }, "require-dev": { "phpunit/phpunit": "^8.5" @@ -26,7 +26,7 @@ }, "config": { "platform": { - "php": "7.2" + "php": "7.4" } } } From 74e8308824cdb2db8425932d3fb928cbc734d9f3 Mon Sep 17 00:00:00 2001 From: Paul Gilzow Date: Fri, 22 Nov 2024 13:27:34 -0600 Subject: [PATCH 2/3] updates version tested to match supported versions on platform.sh --- .github/workflows/quality-assurance.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/quality-assurance.yaml b/.github/workflows/quality-assurance.yaml index 97d8d08..1582b44 100644 --- a/.github/workflows/quality-assurance.yaml +++ b/.github/workflows/quality-assurance.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [ '7.2', '7.3', '7.4', '8.0' ] + php: ['7.4', '8.0', '8.1', '8.2', '8.3' ] composer-flags: [ '' ] phpunit-flags: [ '--coverage-text' ] steps: From 1ff6dddbab205ce0e1ca7736bcf96c9b58cf6d39 Mon Sep 17 00:00:00 2001 From: Paul Gilzow Date: Fri, 22 Nov 2024 13:30:46 -0600 Subject: [PATCH 3/3] updates readme to indicate new min version of php --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 45a8e03..da3611f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This library provides a streamlined and easy to use way to interact with a Platform.sh environment. It offers utility methods to access routes and relationships more cleanly than reading the raw environment variables yourself. -This library requires PHP 7.2 or later. +This library requires PHP 7.4 or later. ## Install