File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 17
17
"require" : {
18
18
"php" : " ^7.0" ,
19
19
"psr/http-message" : " ^1.0" ,
20
- "psr/http-client" : " ^0.2 " ,
20
+ "psr/http-client" : " ^0.3 " ,
21
21
"php-http/promise" : " ^1.0"
22
22
},
23
23
"require-dev" : {
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Client ;
4
4
5
- use Psr \Http \Client \ClientException as PsrClientException ;
5
+ use Psr \Http \Client \ClientExceptionInterface as PsrClientException ;
6
6
7
7
/**
8
8
* Every HTTP Client related Exception must implement this interface.
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Client \Exception ;
4
4
5
- use Psr \Http \Client \NetworkException as PsrNetworkException ;
5
+ use Psr \Http \Client \NetworkExceptionInterface as PsrNetworkException ;
6
6
7
7
/**
8
8
* Thrown when the request cannot be completed because of network issues.
Original file line number Diff line number Diff line change 3
3
namespace Http \Client \Exception ;
4
4
5
5
use Psr \Http \Message \RequestInterface ;
6
- use Psr \Http \Client \RequestException as PsrRequestException ;
6
+ use Psr \Http \Client \RequestExceptionInterface as PsrRequestException ;
7
7
8
8
/**
9
9
* Exception for when a request failed, providing access to the failed request.
You can’t perform that action at this time.
0 commit comments