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 25
25
"symfony/options-resolver" : " ^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0"
26
26
},
27
27
"require-dev" : {
28
- "guzzlehttp/psr7" : " ^1 .0" ,
28
+ "guzzlehttp/psr7" : " ^2 .0" ,
29
29
"php-http/client-integration-tests" : " ^3.0" ,
30
30
"phpunit/phpunit" : " ^7.5 || ^9.4" ,
31
31
"laminas/laminas-diactoros" : " ^2.0" ,
Original file line number Diff line number Diff line change 14
14
15
15
<testsuite name =" All" >
16
16
<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 >
20
17
</testsuite >
21
18
22
19
<testsuite name =" Unit" >
25
22
26
23
<testsuite name =" Functional" >
27
24
<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 >
31
25
</testsuite >
32
26
33
27
</testsuites >
Original file line number Diff line number Diff line change 4
4
5
5
namespace Http \Client \Curl \Tests \Functional ;
6
6
7
+ use GuzzleHttp \Psr7 \HttpFactory ;
7
8
use Http \Client \Curl \Client ;
8
9
use Http \Client \HttpAsyncClient ;
9
- use Http \Message \MessageFactory \GuzzleMessageFactory ;
10
- use Http \Message \StreamFactory \GuzzleStreamFactory ;
11
10
12
11
/**
13
12
* @covers \Http\Client\Curl\Client
@@ -19,6 +18,6 @@ class HttpAsyncClientGuzzleTest extends HttpAsyncClientTestCase
19
18
*/
20
19
protected function createHttpAsyncClient (): HttpAsyncClient
21
20
{
22
- return new Client (new GuzzleMessageFactory (), new GuzzleStreamFactory ());
21
+ return new Client (new HttpFactory (), new HttpFactory ());
23
22
}
24
23
}
Original file line number Diff line number Diff line change 4
4
5
5
namespace Http \Client \Curl \Tests \Functional ;
6
6
7
+ use GuzzleHttp \Psr7 \HttpFactory ;
7
8
use GuzzleHttp \Psr7 \Stream ;
8
9
use 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 ;
12
11
use Psr \Http \Message \StreamInterface ;
13
12
14
13
/**
@@ -19,9 +18,9 @@ class HttpClientGuzzleTest extends HttpClientTestCase
19
18
/**
20
19
* {@inheritdoc}
21
20
*/
22
- protected function createHttpAdapter (): HttpClient
21
+ protected function createHttpAdapter (): ClientInterface
23
22
{
24
- return new Client (new GuzzleMessageFactory (), new GuzzleStreamFactory ());
23
+ return new Client (new HttpFactory (), new HttpFactory ());
25
24
}
26
25
27
26
/**
You can’t perform that action at this time.
0 commit comments