Upgrade to PSR HTTP Message 2.0, update Nimbly dependencies, and require PHP 8.2+#97
Open
jmcdaniel-cl wants to merge 3 commits intoTomorrowIdeas:masterfrom
Open
Upgrade to PSR HTTP Message 2.0, update Nimbly dependencies, and require PHP 8.2+#97jmcdaniel-cl wants to merge 3 commits intoTomorrowIdeas:masterfrom
jmcdaniel-cl wants to merge 3 commits intoTomorrowIdeas:masterfrom
Conversation
- Update dependencies: nimbly/capsule (^3.0), nimbly/shuttle (^2.0), psr/http-message (^2.0) - Bump minimum PHP version to 8.2 - Update all class references to new namespaces: - \Nimbly\Shuttle\Shuttle - \Nimbly\Capsule\Request - \Nimbly\Capsule\Response - \Nimbly\Capsule\ResponseStatus - \Nimbly\Shuttle\Handler\MockHandler - Update test mocks and HTTP client instantiation for new APIs - Replace hardcoded HTTP status codes with ResponseStatus constants - Maintain project coding standard with leading backslashes for built-in functions - All tests passing under new requirements BREAKING CHANGE: Requires PHP 8.2+ and PSR HTTP Message 2.0
+ updated readme to reflect changes made as well as fix some typos
…ate issues with PHP 8.2 missing libraries.
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.
Description
This PR upgrades the SDK to support PSR HTTP Message ^2.0 and updates related dependencies:
nimbly/shuttleto 2.0 andnimbly/capsuleto 3.0.1 for PSR-7 v2.0 compatibility.Nimbly\Shuttle\ShuttleandNimbly\Capsule\Request\Response.ResponseStatusenum constants for improved readability.This update ensures the SDK is compatible with the latest PSR standards and modern PHP versions, while preserving existing coding conventions.