From d250299fb3ec0c9bf274fd2616cd8115030de960 Mon Sep 17 00:00:00 2001 From: jsonbailey Date: Wed, 21 Oct 2026 10:55:12 -0500 Subject: [PATCH 1/5] chore: Update Windows CI PHP versions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2eb3419..b992785 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: strategy: matrix: - php-version: [8.1.26, 8.2.19, 8.3.8] + php-version: [8.2.34, 8.3.35] env: LD_INCLUDE_INTEGRATION_TESTS: 1 From 99632739702d8c2030c93f7b0d71f42e7cb353bb Mon Sep 17 00:00:00 2001 From: jsonbailey Date: Wed, 21 Oct 2026 12:10:55 -0500 Subject: [PATCH 2/5] chore: Align Windows CI PHP setup with the server SDK --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b992785..1959fd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: strategy: matrix: - php-version: [8.2.34, 8.3.35] + php-version: ["8.1", "8.2", "8.3", "8.4"] env: LD_INCLUDE_INTEGRATION_TESTS: 1 @@ -38,11 +38,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install php support - run: choco install -y php --version=${{ matrix.php-version }} --force - - - name: Install composer - run: choco install -y composer + - name: Setup PHP + uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 + with: + php-version: ${{ matrix.php-version }} # Installation must prefer source as the current open-feature/php-sdk # includes a symlink which 7z does not want to unzip. Once this is From bb24338d50d25c233eeabc3cb76b80133c4708e6 Mon Sep 17 00:00:00 2001 From: jsonbailey Date: Wed, 21 Oct 2026 12:12:16 -0500 Subject: [PATCH 3/5] chore: Add version comment to setup-php pin --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1959fd2..abf908e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 + uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 with: php-version: ${{ matrix.php-version }} From 2c46d863cb8ef5c414d9346c4dd400a4717549b0 Mon Sep 17 00:00:00 2001 From: jsonbailey Date: Wed, 21 Oct 2026 12:47:35 -0500 Subject: [PATCH 4/5] feat: Require PHP 8.2 or later --- .github/actions/ci/action.yml | 2 +- .github/workflows/ci.yml | 4 ++-- README.md | 4 ++-- composer.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/ci/action.yml b/.github/actions/ci/action.yml index a8f8b90..6019f27 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" token: description: 'Token used to prevent composer rate limiting' required: true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abf908e..c92b7b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - php-versions: [8.1, 8.2, 8.3] + php-version: ["8.2", "8.3", "8.4", "8.5"] steps: - uses: actions/checkout@v4 @@ -30,7 +30,7 @@ jobs: strategy: matrix: - php-version: ["8.1", "8.2", "8.3", "8.4"] + php-version: ["8.2", "8.3", "8.4", "8.5"] env: LD_INCLUDE_INTEGRATION_TESTS: 1 diff --git a/README.md b/README.md index 6ea27cc..9550bab 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This provider is designed primarily for use in multi-user systems such as web se ## Supported PHP versions -This version of the LaunchDarkly provider works with PHP 8.1 and above. +This version of the LaunchDarkly provider works with PHP 8.2 and above. ## Feature matrix @@ -49,7 +49,7 @@ Example composer dependencies: ```json { "require": { - "php": ">=8.1", + "php": ">=8.2", "launchdarkly/openfeature-server": "^1.0" } } diff --git a/composer.json b/composer.json index 54c7342..c035244 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "php": ">=8.1", + "php": ">=8.2", "guzzlehttp/guzzle": "^7", "launchdarkly/server-sdk": "^6.2", "myclabs/php-enum": ">1.8", From 1378287d1ecf705714f86fa6f6bf9b120d62067f Mon Sep 17 00:00:00 2001 From: jsonbailey Date: Wed, 21 Oct 2026 13:20:46 -0500 Subject: [PATCH 5/5] chore: Remove PHP 8.5 from the CI matrix --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c92b7b3..7376f63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - php-version: ["8.2", "8.3", "8.4", "8.5"] + php-version: ["8.2", "8.3", "8.4"] steps: - uses: actions/checkout@v4 @@ -30,7 +30,7 @@ jobs: strategy: matrix: - php-version: ["8.2", "8.3", "8.4", "8.5"] + php-version: ["8.2", "8.3", "8.4"] env: LD_INCLUDE_INTEGRATION_TESTS: 1