Problem/Motivation
As discovered by mglaman/phpstan-drupal 1.2.0 (see #3383279: Bump mglaman/phpstan-drupal to latest to make daily "updated deps" QA run pass again), we are using some deprecated functionality throughout Drupal core.
This issue is for dealing with:
------ ---------------------------------------------------------------------------------------------------
Line ClientFactory.php
------ ---------------------------------------------------------------------------------------------------
53 Call to deprecated function GuzzleHttp\default_user_agent():
default_user_agent will be removed in guzzlehttp/guzzle:8.0. Use Utils::defaultUserAgent instead.
------ ---------------------------------------------------------------------------------------------------
in \Drupal\Core\Http\ClientFactory.
Steps to reproduce
Proposed resolution
Replace the deprecated call with the proposed one.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comments
Comment #3
spokjeComment #4
mondrakeNew method used and no test failure.
Comment #5
catchCommitted/pushed to 11.x, thanks!
Comment #8
catch