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
1515
1616### Changed
1717
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 ` .
2021
2122## [ 2.3.0] - 2019-07-30
2223
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 22
33namespace Http \Adapter \React ;
44
5+ use Http \Adapter \React \Exception \UnexpectedValueException ;
56use Http \Client \Exception as HttplugException ;
67use Http \Promise \Promise as HttpPromise ;
78use Psr \Http \Message \RequestInterface ;
89use Psr \Http \Message \ResponseInterface ;
910use React \EventLoop \LoopInterface ;
1011use React \Promise \PromiseInterface ;
1112use RuntimeException ;
12- use UnexpectedValueException ;
1313
1414/**
1515 * React promise adapter implementation.
Original file line number Diff line number Diff line change 22
33namespace Http \Adapter \React \Tests ;
44
5+ use Http \Adapter \React \Exception \UnexpectedValueException ;
56use Http \Adapter \React \Promise ;
67use Http \Adapter \React \ReactFactory ;
78use Http \Client \Exception \HttpException ;
1415use Psr \Http \Message \ResponseInterface ;
1516use React \Promise \Promise as ReactPromise ;
1617use RuntimeException ;
17- use UnexpectedValueException ;
1818
1919class PromiseTest extends TestCase
2020{
You can’t perform that action at this time.
0 commit comments