Skip to content

Conversation

@brandonkelly
Copy link

This PR adds compatibility with guzzlehttp/psr7 v2, resolving conflicts with other packages that require it for Guzzle 7 + PHP 8 compatibility.

The only breaking change this package was affected by was the removal of GuzzleHttp\Psr7\stream_for, which had been deprecated/replaced by GuzzleHttp\Psr7\Utils::streamFor() in v1.7. So I’ve also bumped the minimum v1 requirement to ^1.7, and started calling the new method instead.

Also bumps the v1 req to 1.7+, which is when GuzzleHttp\Psr7\Utils::streamFor() was added (replacement for stream_for() function, which was removed in v2)
@dawb
Copy link

dawb commented Jan 22, 2023

Is it possible to merge this fix into v1 branch as a new version so that it can allow for psr7 v2?

@karensg
Copy link

karensg commented Mar 6, 2023

Please merge this 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants