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

Remove deprecated Guzzle function call #135

Merged
merged 1 commit into from
Jul 7, 2021
Merged

Conversation

bencorlett
Copy link
Member

The GuzzleHttp\Psr7\uri_for function is deprecated and removed in Guzzle 7.2. Where available GuzzleHttp\Psr7\Utils::uriFor is used instead.

Given we support Guzzle 6 and 7, both the method and function call are required to be supported.

Fixes #134.

The `GuzzleHttp\Psr7\uri_for` function is deprecated and removed in Guzzle 7.2.  Where available `GuzzleHttp\Psr7\Utils::uriFor` is used instead.

Given we support Guzzle 6 and 7, both the method and function call are required to be supported.

Fixes #134.
@bencorlett bencorlett force-pushed the fix/guzzle-functions branch from 7401034 to 03c502c Compare July 5, 2021 09:47
@masakik
Copy link

masakik commented Jul 6, 2021

Hi, I have this issue yesterday and tested this PR. Seems to be a good solution.

@hawkinbj
Copy link

hawkinbj commented Jul 7, 2021

Have the same issue, tested this PR and it solves the problem as well

@bencorlett bencorlett merged commit 19a3ce4 into master Jul 7, 2021
@bencorlett
Copy link
Member Author

@masakik and @hawkinbj thank you both for testing! Incoming release.

@bencorlett bencorlett deleted the fix/guzzle-functions branch July 7, 2021 22:55
@GrahamCampbell
Copy link
Member

GrahamCampbell commented Jul 7, 2021

function is deprecated and removed in Guzzle 7.2

This is not true. Guzzle follows semantic versioning.

@GrahamCampbell
Copy link
Member

See #136. :)

@bencorlett
Copy link
Member Author

@GrahamCampbell if you would like, feel welcome to submit a PR

bencorlett added a commit that referenced this pull request Jul 8, 2021
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.

Avoid "functions" from dependencies
4 participants