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 for Guzzle 7 #54

Closed
wants to merge 2 commits into from
Closed

Support for Guzzle 7 #54

wants to merge 2 commits into from

Conversation

pedrommone
Copy link

Hello!

I've read all the upgrade guide from Guzzle 6 to 7 and sound like everything is ok.

@@ -79,7 +80,7 @@ public function handle()

return;
} catch (Exception $exception) {
if ($exception instanceof RequestException) {
if ($exception instanceof TransferException || $exception instanceof RequestException) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Class GuzzleHttp\Exception\ConnectException now extends GuzzleHttp\Exception\TransferException instead of GuzzleHttp\Exception\RequestException.

This is a part of the upgrade guide. I've added a new exception here but it sounds like it is not working. Never worked with standalone packages supporting a range of versions so idk what to do next.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@freekmurze can you take a look here? 😇

@freekmurze
Copy link
Member

Seems like the tests are failing for this PR. Could you take a look at that?

@freekmurze
Copy link
Member

The latest release now support Guzzle 7.

@freekmurze freekmurze closed this Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants