Skip to content

Commit 9ba0231

Browse files
committed
replace nyholm/psr7 to guzzlehttp/psr7 for PHP 7.0 support
1 parent 0af2e7c commit 9ba0231

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"psr/http-client": "^1.0"
1919
},
2020
"require-dev": {
21-
"nyholm/psr7": "^1.3",
21+
"guzzlehttp/psr7": "^1.7",
2222
"phpunit/phpunit": ">=6.5",
2323
"squizlabs/php_codesniffer": "^3.5",
2424
"webclient/fake-http-client": "^1.0"

stuff/Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Stuff\Webclient\Extension\Cookie;
66

7-
use Nyholm\Psr7\Response;
7+
use GuzzleHttp\Psr7\Response;
88
use Psr\Http\Message\ResponseInterface;
99
use Psr\Http\Message\ServerRequestInterface;
1010
use Psr\Http\Server\RequestHandlerInterface;

tests/CookieClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Tests\Webclient\Extension\Cookie;
66

7-
use Nyholm\Psr7\Request;
7+
use GuzzleHttp\Psr7\Request;
88
use PHPUnit\Framework\TestCase;
99
use Psr\Http\Client\ClientExceptionInterface;
1010
use Stuff\Webclient\Extension\Cookie\Handler;

0 commit comments

Comments
 (0)