Skip to content

Commit a28a0c5

Browse files
authored
require all necessary psr implementations
the code relies on psr7, psr17 and psr18 implementations to be available, with the discovery. it no longer uses the php-http httplug interface (which was made obsolete by psr-18). php-http/client-common is also not used in the code.
1 parent 9fb6b8a commit a28a0c5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

composer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
"type": "library",
88
"require": {
99
"php" : "^7.1 || ^8.0",
10-
"php-http/client-common": "^2.0",
10+
"psr/http-message-implementation": "*",
11+
"psr/http-factory-implementation": "*",
12+
"psr/http-client-implementation": "*",
1113
"php-http/discovery": "^1.7",
12-
"nyholm/psr7": "^1.0",
1314
"ext-json": "*"
1415
},
1516
"require-dev": {
1617
"php-http/guzzle6-adapter": "^2.0",
18+
"guzzlehttp/psr7": "^2.0",
1719
"phpunit/phpunit": "6.* | 7.* | 8.* | 9.*"
1820
},
1921
"autoload": {

0 commit comments

Comments
 (0)