-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpClient] Avoid installation of latest contracts as it's not compatible #41001
8000 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
Conversation
I added a Fixes... for the open ticket to the PR header |
@@ -23,7 +23,7 @@ | |||
"require": { | |||
"php": ">=7.1.3", | |||
"psr/log": "^1.0", | |||
"symfony/http-client-contracts": "^1.1.10|^2", | |||
"symfony/http-client-contracts": "^1.1.10|<2.4", |
There was a problem hiding this comment.
Choose a reason 8000 for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be ^1.1.10|>=2,<2.4
. Otherwise, the <2.4
constraint allows to install 1.0.0
HttpClient is compatible with Contracts 2.4. It "just" triggers a deprecation when used with it, but that can be ignored. I think we should try patching |
It just trigger deprecation notice because we ensure to not break BC. That's why we added |
Closing in favor of #41075 |
… for `Symfony\*` classes unless symfony/symfony is being tested (nicolas-grekas) This PR was merged into the 4.4 branch. Discussion ---------- [ErrorHandler] Skip "same vendor" ``@method`` deprecations for `Symfony\*` classes unless symfony/symfony is being tested | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | ref #40975 #40996 #40893 | License | MIT | Doc PR | Replaces #41001 Commits ------- 7a1a910 [ErrorHandler] Skip "same vendor" ``@method`` deprecations for `Symfony\*` classes unless symfony/symfony is being tested
To be reverted on 5.x (5.3)
Fixes #40975