Upgrade to Guzzle v7 #10302
Labels
P1
Medium priority
PHP
Team S
Issues for Squad 1
Type: Infrastructure
Engineering infrastructure & tooling
Feature Description
Guzzle is one of Site Kit's core dependencies as the HTTP client used by
google/apiclient
.Now that Site Kit's minimum PHP version requirement is 7.4, we're no longer blocked from upgrading to Guzzle 7 and even able to use the latest stable version: 7.9.2!
This should be smoother than the upgrade from Guzzle 5 -> 6 (done in #1146), and is important to unblock upgrades of other dependencies.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
guzzlehttp/guzzle
should be upgraded to the latest v7 versionClient_Factory::create_client
)Implementation Brief
guzzlehttp/guzzle
to the7.9.2
guzzlehttp/psr7
which needs to be2.7.0
. It is locked to the google api library which is locaked at1.9.1
. So it should be updated together with it's dependenciesnew Response
, so it will take updating this in all tests that returnnew Response
to return a wrapper around responsenew FulfilledPromise( new Response(...))
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: