From c8c0e5c84d2b244f2cc91d89632060f312096293 Mon Sep 17 00:00:00 2001 From: jsonbailey Date: Wed, 21 Oct 2026 10:54:41 -0500 Subject: [PATCH 1/3] feat: Bump PHP to 8.1+ --- .github/workflows/ci.yml | 8 ++++---- README.md | 2 +- composer.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4bab5b..daf403e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,14 +22,14 @@ jobs: strategy: matrix: include: - - php-version: 7.4 - shared-test-version: 4.x-dev - - php-version: 8.0 - shared-test-version: 5.x-dev - php-version: 8.1 shared-test-version: dev-main - php-version: 8.2 shared-test-version: dev-main + - php-version: 8.3 + shared-test-version: dev-main + - php-version: 8.4 + shared-test-version: dev-main steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index e5c0cbd..8f68958 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ The minimum version of the LaunchDarkly PHP SDK for use with this library is 4.0 This version of the package uses version 5.x of the `consul-php-sdk` client. If your application needs to use an earlier version of `consul-php-sdk`, use `launchdarkly/server-sdk-consul` 1.x (for version 2.x of `consul-php-sdk`) or `launchdarkly/server-sdk-consul` 2.x (for version 4.x of `consul-php-sdk`). -The minimum PHP version is 7.4. +The minimum PHP version is 8.1. For more information, see [our SDK documentation](https://docs.launchdarkly.com/sdk/features/storing-data). diff --git a/composer.json b/composer.json index 49db7ad..e16ac1c 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "php": ">=7.4", + "php": ">=8.1", "friendsofphp/consul-php-sdk": "^5", "launchdarkly/server-sdk": ">=4.0.0 <7.0.0" }, From 71b65093c1a4f06a4ecf1b5c6c6412c761b38fa7 Mon Sep 17 00:00:00 2001 From: jsonbailey Date: Wed, 21 Oct 2026 12:47:37 -0500 Subject: [PATCH 2/3] feat: Require PHP 8.2 or later --- .github/actions/ci/action.yml | 2 +- .github/workflows/ci.yml | 4 ++-- README.md | 2 +- composer.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/ci/action.yml b/.github/actions/ci/action.yml index 9074643..9e43d06 100644 --- a/.github/actions/ci/action.yml +++ b/.github/actions/ci/action.yml @@ -4,7 +4,7 @@ inputs: php-version: description: 'Which version of PHP should we setup?' required: false - default: 8.1 + default: 8.2 shared-test-version: description: 'Which version of the shared test package should we required' required: false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daf403e..1107ae0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,14 +22,14 @@ jobs: strategy: matrix: include: - - php-version: 8.1 - shared-test-version: dev-main - php-version: 8.2 shared-test-version: dev-main - php-version: 8.3 shared-test-version: dev-main - php-version: 8.4 shared-test-version: dev-main + - php-version: 8.5 + shared-test-version: dev-main steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 8f68958..184ca87 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ The minimum version of the LaunchDarkly PHP SDK for use with this library is 4.0 This version of the package uses version 5.x of the `consul-php-sdk` client. If your application needs to use an earlier version of `consul-php-sdk`, use `launchdarkly/server-sdk-consul` 1.x (for version 2.x of `consul-php-sdk`) or `launchdarkly/server-sdk-consul` 2.x (for version 4.x of `consul-php-sdk`). -The minimum PHP version is 8.1. +The minimum PHP version is 8.2. For more information, see [our SDK documentation](https://docs.launchdarkly.com/sdk/features/storing-data). diff --git a/composer.json b/composer.json index e16ac1c..73ead40 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "php": ">=8.1", + "php": ">=8.2", "friendsofphp/consul-php-sdk": "^5", "launchdarkly/server-sdk": ">=4.0.0 <7.0.0" }, From 31983eb948eb5138d72fa7bb35c0ea119198813f Mon Sep 17 00:00:00 2001 From: jsonbailey Date: Wed, 21 Oct 2026 13:20:48 -0500 Subject: [PATCH 3/3] chore: Remove PHP 8.5 from the CI matrix --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1107ae0..2c9c17f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,6 @@ jobs: shared-test-version: dev-main - php-version: 8.4 shared-test-version: dev-main - - php-version: 8.5 - shared-test-version: dev-main steps: - uses: actions/checkout@v4