From c8930e7c138efcc0c18d93122a2bd4fab2c26204 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Fri, 27 Aug 2021 12:15:02 -0500 Subject: [PATCH] chore: allow guzzle/psr 2.0 (#102) --- composer.json | 2 +- tests/vendorTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c2e8e30c..84cd1d11 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "require": { "php": ">=7.2", - "guzzlehttp/psr7": "^1.6", + "guzzlehttp/psr7": "^1.7|^2.0", "psr/http-message": "^1.0" }, "suggest": { diff --git a/tests/vendorTest.php b/tests/vendorTest.php index 8474e681..ddbf07b8 100644 --- a/tests/vendorTest.php +++ b/tests/vendorTest.php @@ -117,7 +117,7 @@ public function testGcsIsNotRegistered(): void */ public function testGcsIsRegistered(): void { - passthru('composer require google/cloud-storage'); + passthru('composer require -w google/cloud-storage'); copy(__DIR__ . '/fixtures/gcs.php', self::$tmpDir . '/gcs.php'); $cmd = sprintf(