Skip to content

Commit bf37b15

Browse files
authored
Allow psr/http-message ^2.0 (#25)
* Add psr/http-message ^2.0 to composer.json * Additionally remove unused imports
1 parent b362317 commit bf37b15

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"php": "^7.4 || ^8.0",
2323
"ext-json": "*",
2424
"psr/http-client": "^1.0",
25-
"psr/http-message": "^1.0",
25+
"psr/http-message": "^1.0 || ^2.0",
2626
"psr/http-factory": "^1.0"
2727
},
2828
"require-dev": {

tests/Integration/HttpAdapter/ClientTestCase.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
use Marein\Nchan\Http\Client;
99
use Marein\Nchan\Http\Request;
1010
use Marein\Nchan\Http\Url;
11-
use Marein\Nchan\HttpAdapter\Credentials;
12-
use Marein\Nchan\HttpAdapter\HttpStreamWrapperClient;
1311
use PHPUnit\Framework\TestCase;
1412

1513
abstract class ClientTestCase extends TestCase

0 commit comments

Comments
 (0)