Skip to content

Commit

Permalink
Support BrowserKit 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Naktibalda committed Feb 19, 2022
1 parent 8e1fdcc commit d3cad5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*",
Expand Down
2 changes: 1 addition & 1 deletion src/Codeception/Lib/Connector/Guzzle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d3cad5e

Please sign in to comment.