File tree Expand file tree Collapse file tree 6 files changed +20
-19
lines changed Expand file tree Collapse file tree 6 files changed +20
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+
2
+ <?php
3
+
4
+ $ finder = PhpCsFixer \Finder::create ()
5
+ ->exclude ('vendor ' )
6
+ ->in (__DIR__ )
7
+ ;
8
+
9
+ return PhpCsFixer \Config::create ()
10
+ ->setRules ([
11
+ '@Symfony ' => true ,
12
+ 'array_syntax ' => ['syntax ' => 'short ' ],
13
+ ])
14
+ ->setFinder ($ finder );
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Adapter \React ;
4
4
5
- use Http \Client \HttpClient ;
6
5
use Http \Client \HttpAsyncClient ;
6
+ use Http \Client \HttpClient ;
7
7
use Psr \Http \Message \RequestInterface ;
8
8
use Psr \Http \Message \ResponseInterface ;
9
9
use React \EventLoop \LoopInterface ;
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Adapter \React ;
4
4
5
- use React \EventLoop \LoopInterface ;
6
5
use React \EventLoop \Factory as EventLoopFactory ;
6
+ use React \EventLoop \LoopInterface ;
7
7
use React \Http \Browser ;
8
8
use React \Socket \ConnectorInterface ;
9
9
@@ -25,8 +25,8 @@ public static function buildEventLoop(): LoopInterface
25
25
/**
26
26
* Build a React Http Client.
27
27
*
28
- * @param ConnectorInterface|null $connector Only pass this argument if you need to customize DNS
29
- * behaviour.
28
+ * @param ConnectorInterface|null $connector only pass this argument if you need to customize DNS
29
+ * behaviour
30
30
*/
31
31
public static function buildHttpClient (
32
32
LoopInterface $ loop ,
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Adapter \React \Tests ;
4
4
5
- use Http \Client \Tests \HttpAsyncClientTest ;
6
5
use Http \Adapter \React \Client ;
7
6
use Http \Client \HttpAsyncClient ;
7
+ use Http \Client \Tests \HttpAsyncClientTest ;
8
8
9
9
/**
10
10
* @author Stéphane Hulard <[email protected] >
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Adapter \React \Tests ;
4
4
5
- use Http \Client \Tests \HttpClientTest ;
6
5
use Http \Adapter \React \Client ;
6
+ use Http \Client \Tests \HttpClientTest ;
7
7
use Psr \Http \Client \ClientInterface ;
8
8
9
9
/**
You can’t perform that action at this time.
0 commit comments