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

Require guzzlehttp/psr7 >= 1.7.0 for Util class #243

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

toby-griffiths
Copy link
Contributor

The PodioClient class depends on the \GuzzleHttp\Psr7\Utils class, however this was not included in the existing requirements, since the guzzlehttp/guzzle requirement of >=6.2.0 only requires guzzlehttp/psr7:~1.1, so this will cause a "Class not found" error when attempting to load the Util class.

This change explicitly adds the guzzlehttp/psr7:>=1.7.0 requirement, however this could also be acheived by bumping the guzzlehttp/guzzle requirement, since anything less than 6.5.8 has a security vulnerability.

The PodioClient class depends on the `\GuzzleHttp\Psr7\Utils` class,
however this was not included in the existing requirements, since the
`guzzlehttp/guzzle` requirement of `>=6.2.0` only requires
`guzzlehttp/psr7:~1.1`, so this will cause a "Class not found" error
when attempting to load the Util class.
@daniel-sc
Copy link
Member

@toby-griffiths Thanks for the contribution!

IMHO it might be cleaner to increase the guzzle version but the other way is fine as well.

@daniel-sc daniel-sc merged commit 7c2e187 into podio-community:master Nov 7, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants