-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Using psr/http-message:^2.0
and updating dependencies
#17
Conversation
@hansott |
@KentarouTakeda I will review in the evening, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much. I've been taking some time off, sorry about that.
composer.json
Outdated
}, | ||
"require-dev": { | ||
"scrutinizer/ocular": "~1.1", | ||
"guzzlehttp/psr7": "^1.3", | ||
"guzzlehttp/psr7": "^1.3 || ^2.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with dropping support for guzzle ^1.3 and http-message ^1.0, what do you think? :)
Then we don't have to mark the test as skipped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I also think it's no problem.
In that case, psr/http-message:^2.0
requires php:^7.2
, so I also removed it from the CI php version. Instead, I added a version newer than 8.0 to CI. You can see results here.
https://packagist.org/packages/hansott/psr7-cookies/php-stats
Right now, the dropped versions seems to be used by nobody :)
Thank you for merging and publishing!! |
This pull request provides a dependency update to use
psr/http-message:^2.0
. It closes #16.To use it, We also needed to update
guzzlehttp/psr7
. Addresses breaking changes included in2.0
. Fortunately, only the test code was affected, so the old version ofguzzlehttp/psr7
can continue to be used.Also, just to be sure, I changed the CI settings in my repository and confirmed that the tests would pass even with recent PHP versions, including the latest, which this repository does not yet support. It passes in all php versions from 7.0 to 8.3.
https://github.com/KentarouTakeda/hansott-psr7-cookies/actions/runs/7406316316