Repository navigation
feat: Require PHP 8.2 or later - #32
Merged
Merged
Conversation
jsonbailey
marked this pull request as ready for review
October 21, 2026 17:15
kinyoklion
approved these changes
Oct 21, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2c46d86. Configure here.
jsonbailey
pushed a commit
that referenced
this pull request
Oct 21, 2026
🤖 I have created a release *beep* *boop* --- ## [2.0.0](1.0.0...2.0.0) (2026-10-21) ### ⚠ BREAKING CHANGES * Do not add the targeting key as a custom attribute ([#28](#28)) ### Features * Require PHP 8.2 or later ([#32](#32)) ([50c99d1](50c99d1)) ### Bug Fixes * Do not add the targeting key as a custom attribute ([#28](#28)) ([2fb07d1](2fb07d1)) * Map the WRONG_TYPE error kind to TYPE_MISMATCH ([#27](#27)) ([481eb3c](481eb3c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Overview** > **Release 2.0.0** — bumps the package from `1.0.0` to `2.0.0` across Release Please manifest, `Provider::VERSION`, docs build title, and **CHANGELOG**. > > This cut documents **breaking** behavior: the provider no longer copies the OpenFeature **targeting key** into LaunchDarkly custom attributes (only the LD context key). It also raises the minimum runtime to **PHP 8.2+** and notes a fix mapping LaunchDarkly **WRONG_TYPE** evaluations to OpenFeature **`TYPE_MISMATCH`** (already reflected in current `Provider` / converter code). > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 5883fcd. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
PHP 8.1 is end-of-life. The minimum PHP version is now 8.2.
composer.jsonrequiresphp >=8.2.shivammathur/setup-phpwith minor versions, so patch releases (including the CVE-2026-109618/109619 fixes) need no manual pins.php-versions->php-version). Linux jobs always ran the default PHP before.Note
Overview
Raises the minimum supported PHP version from 8.2 (replacing 8.1) in
composer.json, README examples, and the shared CI action default.CI now runs tests on 8.2, 8.3, and 8.4 on Linux and Windows. The Linux workflow matrix key is fixed from
php-versionstophp-versionso matrix values are actually passed to the composite action instead of always using the default. On Windows, Chocolatey PHP/composer installs are replaced withshivammathur/setup-php, matching Linux and avoiding pinned patch versions.Reviewed by Cursor Bugbot for commit 1378287. Bugbot is set up for automated code reviews on this repo. Configure here.