chore(deps): bump open-feature/sdk to 2.3.0 - #141
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s OpenFeature PHP SDK dependency to open-feature/sdk v2.3.0 (and raises the minimum compatible constraint), and replaces the previous setLogger() TODO stub in DevCycleProvider with the SDK-provided LoggerAwareTrait implementation.
Changes:
- Bump
open-feature/sdkconstraint from^2.0.10to^2.3.0incomposer.json. - Update
composer.lockto lockopen-feature/sdkto2.3.0. - Implement logger wiring in
DevCycleProviderby usingOpenFeature\interfaces\common\LoggerAwareTraitand removing the emptysetLogger()stub.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| lib/OpenFeature/DevCycleProvider.php | Replaces the TODO setLogger() stub by mixing in the OpenFeature SDK’s LoggerAwareTrait (adds setLogger() + getLogger() behavior). |
| composer.json | Raises the minimum open-feature/sdk version to ^2.3.0. |
| composer.lock | Locks open-feature/sdk to 2.3.0 and updates associated lock metadata. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
suthar26
approved these changes
Aug 5, 2026
JamieSinn
approved these changes
Aug 5, 2026
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
open-feature/sdkfrom 2.0.10 to 2.3.0 and raises the constraint floor to^2.3.0setLogger()using the SDK's ownLoggerAwareTrait, replacing the TODO stubNotes
^2.0.10already allowed 2.3.0, so the functional change is the lockfile. I raised the floor to match what we now test against, still open across 2.x. TheProviderinterface is unchanged in 2.3.0, so the upgrade itself needed no code changes.setLogger()now satisfiesLoggerAwareInterfaceand makes the injected logger retrievable, but no resolve path emits log lines yet. That needs the five duplicatedresolve*Value()methods collapsed into a shared helper first.