Repository navigation
Allow guzzlehttp/psr7 3 - #44
Merged
Merged
Conversation
This was referenced Nov 22, 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.
Guzzle 8 requires
guzzlehttp/psr73. The 2.x line pins psr7 to~2.8, so any application on saml2 v6 is held on Guzzle 7, and an application already on Guzzle 8 is downgraded when it installs saml2:This widens the constraint to
~2.8 || ^3.0.URITraitonly constructsUriand catchesMalformedUriException, and both are unchanged in psr7 3.Tested
~2.7, the same change)PHPStan reports no errors with either major. The deprecation is
ReflectionMethod::setAccessible()inAssertTest, which PHP 8.5 deprecates. It is unrelated to psr7.Behaviour with psr7 3
psr7 3 parses URIs more strictly, so
validURI(),validURL()andvalidURN()reject a few values that 2.x accepted. Each of them is already invalid under RFC 3986:1http://x);http://[zz]/);https://exa%zzmple.com).IPv6 hosts are also written in their short form (
http://[0:0:0:0:0:0:0:1]/becomeshttp://[::1]/).Other lines
~2.7(v1.8.4, frombugfix/1.8.4; there is norelease-1.xbranch). saml2 v5 and xml-common 1.x reach psr7 through it. The same change passes there, as the table shows. I can open it against whichever branch you release 1.x from.~2.8too. That change is Allow guzzlehttp/psr7 3 xml-common#102.