From 19887d1f371a08bf43de28156b4d348907c5d70f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=BDborn=C3=BD=20Adam?= Date: Fri, 6 Oct 2023 12:25:38 +0200 Subject: [PATCH] Update Guzzle --- composer.json | 2 +- tests/RestApiTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index bfd1ee3..25e27e8 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "php": "^8.1", - "guzzlehttp/guzzle": "^6.0", + "guzzlehttp/guzzle": "^7.0", "monolog/monolog": "^2.1" }, "require-dev": { diff --git a/tests/RestApiTest.php b/tests/RestApiTest.php index fd1163d..d94191b 100644 --- a/tests/RestApiTest.php +++ b/tests/RestApiTest.php @@ -127,7 +127,7 @@ public function testRetries(): void 'request' => [ 'uri' => 'https://www.googleapis.com/auth/invalid-scope', 'headers' => [ - 'User-Agent' => ['GuzzleHttp/6.5.5 curl/7.88.1 PHP/8.1.24'], + 'User-Agent' => ['GuzzleHttp/7'], 'Host' => ['www.googleapis.com'], 'Accept' => ['application/json'], 'Authorization' => '*****',