From d3cad5e2fc2de451c710311babcafeeba0e792f2 Mon Sep 17 00:00:00 2001 From: Gintautas Miselis Date: Sat, 19 Feb 2022 20:50:48 +0200 Subject: [PATCH] Support BrowserKit 4.4 --- composer.json | 2 +- src/Codeception/Lib/Connector/Guzzle.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index a9ec5d9..454383c 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "codeception/codeception": "*@dev", "codeception/lib-innerbrowser": "*@dev", "guzzlehttp/guzzle": "^7.4", - "symfony/browser-kit": "^5.4 || ^6.0" + "symfony/browser-kit": "^4.4" }, "require-dev": { "ext-curl": "*", diff --git a/src/Codeception/Lib/Connector/Guzzle.php b/src/Codeception/Lib/Connector/Guzzle.php index 3816b1d..1ad674a 100644 --- a/src/Codeception/Lib/Connector/Guzzle.php +++ b/src/Codeception/Lib/Connector/Guzzle.php @@ -156,7 +156,7 @@ protected function createResponse(Psr7Response $psr7Response): BrowserKitRespons return new BrowserKitResponse($body, $status, $headers); } - protected function getAbsoluteUri(string $uri): string + protected function getAbsoluteUri($uri): string { $baseUri = $this->client->getConfig('base_uri'); if (strpos($uri, '://') === false && strpos($uri, '//') !== 0) { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy