Closed (duplicate)
Project:
Drupal core
Version:
8.8.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Apr 2019 at 23:57 UTC
Updated:
12 Sep 2019 at 09:31 UTC
Jump to comment: Most recent
Comments
Comment #2
alexpottComment #3
berdirThere was also a recent issue that I can't find anymore that was about only depending on the psr standard interfaces, but we still need an actual implementation too.
Did we already check if symfony/http-client supports the special trickery we need for our tests?
Comment #4
idebr commentedComment #5
mglamanFrom the Drupal Commerce side of things, this is a huge change. Most of our integrations use Guzzle. Most of the SDKs use Guzzle. If we can have Drupal only rely on the interfaces versus the client, then I guess that is OK. I don't think anything would break, but Guzzle is still going to be present. It definitely has impact in our microcosm.
Comment #6
andypostComment #7
fgmThis is also related to the wider Symfony 4 issue #2937984: [META] Symfony 4.0 compatibility
Comment #8
mglamanLink to Guzzle issue about PSR-18 https://github.com/guzzle/guzzle/issues/2186
Comment #9
xjm8.8 does not have a minimum PHP version of 7.1.3. PHP 7.0 is still supported. The minimum version is 7.0.8, and it will remain so in 8.8 and quite possibly until 8.9's EOL.
Comment #10
wim leersJust noting that this is still true, but that as of #2917655-44: [9.4.x only] Drop official PHP 7.3 support in Drupal 9.4 and #2917655-48: [9.4.x only] Drop official PHP 7.3 support in Drupal 9.4, it seems somewhat likely that Drupal 8.9 will require PHP 7.1. Still not decided though.
Comment #11
wim leersQuoting #3039047-18: Adopt php-http/guzzle6-adapter 2.x to get PSR-18 support without losing Guzzle's async support verbatim:
I propose to mark this as a duplicate of that issue.
Comment #12
xjmBased on https://github.com/guzzle/guzzle/issues/2358, I agree with Wim. They are continuing their rock-solid BC and security policy, and they'll support Guzzle 6 even after a theoretical Guzzle 7 is released. Their one caveat was needing PHP 7.0+, which is fine for us.
There's the option to re-evaluate the Symfony component in the future when it's more mature and feature-complete, but let's stick with Guzzle for now.
Comment #13
alexpottThanks @Wim Leers for doing all this work! I agree with your conclusions in #11. Therefore closing this issue in favour of #3039047: Adopt php-http/guzzle6-adapter 2.x to get PSR-18 support without losing Guzzle's async support. I also agree with #12 that sticking with Guzzle for the time being makes sense given that
.