File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
15
16
16
### Changed
17
17
18
- - Work with HTTPlug 2, drop HTTPlug 1 support
19
- - Move to ` react/http ` library instead of ` react/http-client `
18
+ - Add full PSR-18 support.
19
+ - Work with HTTPlug 2, drop HTTPlug 1 support.
20
+ - Move to ` react/http ` library instead of ` react/http-client ` .
20
21
21
22
## [ 2.3.0] - 2019-07-30
22
23
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Http \Adapter \React \Exception ;
4
+
5
+ use Http \Client \Exception ;
6
+
7
+ final class UnexpectedValueException extends \UnexpectedValueException implements Exception
8
+ {
9
+ }
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Adapter \React ;
4
4
5
+ use Http \Adapter \React \Exception \UnexpectedValueException ;
5
6
use Http \Client \Exception as HttplugException ;
6
7
use Http \Promise \Promise as HttpPromise ;
7
8
use Psr \Http \Message \RequestInterface ;
8
9
use Psr \Http \Message \ResponseInterface ;
9
10
use React \EventLoop \LoopInterface ;
10
11
use React \Promise \PromiseInterface ;
11
12
use RuntimeException ;
12
- use UnexpectedValueException ;
13
13
14
14
/**
15
15
* React promise adapter implementation.
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Adapter \React \Tests ;
4
4
5
+ use Http \Adapter \React \Exception \UnexpectedValueException ;
5
6
use Http \Adapter \React \Promise ;
6
7
use Http \Adapter \React \ReactFactory ;
7
8
use Http \Client \Exception \HttpException ;
14
15
use Psr \Http \Message \ResponseInterface ;
15
16
use React \Promise \Promise as ReactPromise ;
16
17
use RuntimeException ;
17
- use UnexpectedValueException ;
18
18
19
19
class PromiseTest extends TestCase
20
20
{
You can’t perform that action at this time.
0 commit comments