diff --git a/composer.json b/composer.json index 8136bbd..ac496ca 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": "^7.4 || ^8.0", "ext-json": "*", "psr/http-client": "^1.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.0 || ^2.0", "psr/http-factory": "^1.0" }, "require-dev": { diff --git a/tests/Integration/HttpAdapter/ClientTestCase.php b/tests/Integration/HttpAdapter/ClientTestCase.php index bea35f9..07ecfc0 100644 --- a/tests/Integration/HttpAdapter/ClientTestCase.php +++ b/tests/Integration/HttpAdapter/ClientTestCase.php @@ -8,8 +8,6 @@ use Marein\Nchan\Http\Client; use Marein\Nchan\Http\Request; use Marein\Nchan\Http\Url; -use Marein\Nchan\HttpAdapter\Credentials; -use Marein\Nchan\HttpAdapter\HttpStreamWrapperClient; use PHPUnit\Framework\TestCase; abstract class ClientTestCase extends TestCase