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 22
33namespace Http \Adapter \React ;
44
5- use Http \Client \HttpClient ;
65use Http \Client \HttpAsyncClient ;
6+ use Http \Client \HttpClient ;
77use Psr \Http \Message \RequestInterface ;
88use Psr \Http \Message \ResponseInterface ;
99use React \EventLoop \LoopInterface ;
Original file line number Diff line number Diff line change 22
33namespace Http \Adapter \React ;
44
5- use React \EventLoop \LoopInterface ;
65use React \EventLoop \Factory as EventLoopFactory ;
6+ use React \EventLoop \LoopInterface ;
77use React \Http \Browser ;
88use React \Socket \ConnectorInterface ;
99
@@ -25,8 +25,8 @@ public static function buildEventLoop(): LoopInterface
2525 /**
2626 * Build a React Http Client.
2727 *
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
3030 */
3131 public static function buildHttpClient (
3232 LoopInterface $ loop ,
Original file line number Diff line number Diff line change 22
33namespace Http \Adapter \React \Tests ;
44
5- use Http \Client \Tests \HttpAsyncClientTest ;
65use Http \Adapter \React \Client ;
76use Http \Client \HttpAsyncClient ;
7+ use Http \Client \Tests \HttpAsyncClientTest ;
88
99/**
1010 * @author Stéphane Hulard <s.hulard@chstudio.fr>
Original file line number Diff line number Diff line change 22
33namespace Http \Adapter \React \Tests ;
44
5- use Http \Client \Tests \HttpClientTest ;
65use Http \Adapter \React \Client ;
6+ use Http \Client \Tests \HttpClientTest ;
77use Psr \Http \Client \ClientInterface ;
88
99/**
You can’t perform that action at this time.
0 commit comments