Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support guzzle psr7 version 2 #139

Merged
merged 2 commits into from May 24, 2021
Merged

support guzzle psr7 version 2 #139

merged 2 commits into from May 24, 2021

Conversation

dbu
Copy link
Contributor

@dbu dbu commented May 24, 2021

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets fixes #138
License MIT

What's in this PR?

Support guzzle psr7 version 2 that moved functions to static methods of the Utils class. Our factory is deprecated but still used when no other factory is available, and as we don't restrict the guzzle psr version, we end up failing.

@dbu dbu force-pushed the guzzle-psr7-2 branch 3 times, most recently from 23897e6 to 6b8ea69 Compare May 24, 2021 15:00
@dbu
Copy link
Contributor Author

dbu commented May 24, 2021

@Nyholm ok if i delete the scrutinizer webhook? it fails with something that looks like an error inside scrutinizer. and with php-cs and phpstan i think we are covered well enough.

@dbu dbu merged commit 887734d into master May 24, 2021
@dbu dbu deleted the guzzle-psr7-2 branch May 24, 2021 18:11
@Nyholm
Copy link
Member

Nyholm commented May 24, 2021

Yes, lets!

@dbu
Copy link
Contributor Author

dbu commented May 24, 2021

and done.

i tagged 1.11.1 with the forward-compatibility fix.

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.

Bug: Call to undefined function GuzzleHttp\\Psr7\\uri_for()
2 participants