File tree Expand file tree Collapse file tree 4 files changed +7
-15
lines changed Expand file tree Collapse file tree 4 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 2525 "symfony/options-resolver" : " ^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0"
2626 },
2727 "require-dev" : {
28- "guzzlehttp/psr7" : " ^1 .0" ,
28+ "guzzlehttp/psr7" : " ^2 .0" ,
2929 "php-http/client-integration-tests" : " ^3.0" ,
3030 "phpunit/phpunit" : " ^7.5 || ^9.4" ,
3131 "laminas/laminas-diactoros" : " ^2.0" ,
Original file line number Diff line number Diff line change 1414
1515 <testsuite name =" All" >
1616 <directory >tests</directory >
17- <!-- Exclude till https://github.com/php-http/message/issues/105 resolved. -->
18- <exclude >tests/Functional/HttpAsyncClientGuzzleTest.php</exclude >
19- <exclude >tests/Functional/HttpClientGuzzleTest.php</exclude >
2017 </testsuite >
2118
2219 <testsuite name =" Unit" >
2522
2623 <testsuite name =" Functional" >
2724 <directory >tests/Functional</directory >
28- <!-- Exclude till https://github.com/php-http/message/issues/105 resolved. -->
29- <exclude >tests/Functional/HttpAsyncClientGuzzleTest.php</exclude >
30- <exclude >tests/Functional/HttpClientGuzzleTest.php</exclude >
3125 </testsuite >
3226
3327 </testsuites >
Original file line number Diff line number Diff line change 44
55namespace Http \Client \Curl \Tests \Functional ;
66
7+ use GuzzleHttp \Psr7 \HttpFactory ;
78use Http \Client \Curl \Client ;
89use Http \Client \HttpAsyncClient ;
9- use Http \Message \MessageFactory \GuzzleMessageFactory ;
10- use Http \Message \StreamFactory \GuzzleStreamFactory ;
1110
1211/**
1312 * @covers \Http\Client\Curl\Client
@@ -19,6 +18,6 @@ class HttpAsyncClientGuzzleTest extends HttpAsyncClientTestCase
1918 */
2019 protected function createHttpAsyncClient (): HttpAsyncClient
2120 {
22- return new Client (new GuzzleMessageFactory (), new GuzzleStreamFactory ());
21+ return new Client (new HttpFactory (), new HttpFactory ());
2322 }
2423}
Original file line number Diff line number Diff line change 44
55namespace Http \Client \Curl \Tests \Functional ;
66
7+ use GuzzleHttp \Psr7 \HttpFactory ;
78use GuzzleHttp \Psr7 \Stream ;
89use Http \Client \Curl \Client ;
9- use Http \Client \HttpClient ;
10- use Http \Message \MessageFactory \GuzzleMessageFactory ;
11- use Http \Message \StreamFactory \GuzzleStreamFactory ;
10+ use Psr \Http \Client \ClientInterface ;
1211use Psr \Http \Message \StreamInterface ;
1312
1413/**
@@ -19,9 +18,9 @@ class HttpClientGuzzleTest extends HttpClientTestCase
1918 /**
2019 * {@inheritdoc}
2120 */
22- protected function createHttpAdapter (): HttpClient
21+ protected function createHttpAdapter (): ClientInterface
2322 {
24- return new Client (new GuzzleMessageFactory (), new GuzzleStreamFactory ());
23+ return new Client (new HttpFactory (), new HttpFactory ());
2524 }
2625
2726 /**
You can’t perform that action at this time.
0 commit comments