Completed
Push — master ( 78b9ae...0eb270 )
by
unknown
02:50
created
tests/Transport/HttpTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -213,6 +213,9 @@
 block discarded – undo
213 213
         $this->assertArrayHasKey('acknowledged', $createIndexResponse->getData());
214 214
     }
215 215
 
216
+    /**
217
+     * @param string $url
218
+     */
216 219
     protected function checkProxy($url): void
217 220
     {
218 221
         $url = \parse_url($url);
Please login to merge, or discard this patch.
tests/Query/MultiMatchTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 class MultiMatchTest extends BaseTest
15 15
 {
16 16
     private static $data = [
17
-        ['id' => 1, 'name' => 'Rodolfo', 'last_name' => 'Moraes',   'full_name' => 'Rodolfo Moraes'],
17
+        ['id' => 1, 'name' => 'Rodolfo', 'last_name' => 'Moraes', 'full_name' => 'Rodolfo Moraes'],
18 18
         ['id' => 2, 'name' => 'Tristan', 'last_name' => 'Maindron', 'full_name' => 'Tristan Maindron'],
19 19
         ['id' => 3, 'name' => 'Monique', 'last_name' => 'Maindron', 'full_name' => 'Monique Maindron'],
20
-        ['id' => 4, 'name' => 'John',    'last_name' => 'not Doe',  'full_name' => 'John not Doe'],
20
+        ['id' => 4, 'name' => 'John', 'last_name' => 'not Doe', 'full_name' => 'John not Doe'],
21 21
     ];
22 22
 
23 23
     /**
Please login to merge, or discard this patch.
src/Transport/AwsAuthV4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $signer = new SignatureV4('es', $region);
44 44
         $credProvider = $this->getCredentialProvider();
45 45
 
46
-        return Middleware::mapRequest(static function (RequestInterface $req) use (
46
+        return Middleware::mapRequest(static function(RequestInterface $req) use (
47 47
             $signer,
48 48
             $credProvider
49 49
         ) {
Please login to merge, or discard this patch.
tests/Connection/Strategy/SimpleTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         ];
63 63
 
64 64
         $count = 0;
65
-        $callback = static function ($connection, $exception, $client) use (&$count): void {
65
+        $callback = static function($connection, $exception, $client) use (&$count): void {
66 66
             ++$count;
67 67
         };
68 68
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         ];
91 91
 
92 92
         $count = 0;
93
-        $client = $this->_getClient([], static function () use (&$count): void {
93
+        $client = $this->_getClient([], static function() use (&$count): void {
94 94
             ++$count;
95 95
         });
96 96
 
Please login to merge, or discard this patch.
tests/Connection/Strategy/RoundRobinTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         ];
75 75
 
76 76
         $count = 0;
77
-        $callback = static function ($connection, $exception, $client) use (&$count): void {
77
+        $callback = static function($connection, $exception, $client) use (&$count): void {
78 78
             ++$count;
79 79
         };
80 80
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         ];
103 103
 
104 104
         $count = 0;
105
-        $client = $this->_getClient(['roundRobin' => true], static function () use (&$count): void {
105
+        $client = $this->_getClient(['roundRobin' => true], static function() use (&$count): void {
106 106
             ++$count;
107 107
         });
108 108
 
Please login to merge, or discard this patch.
tests/Connection/Strategy/StrategyFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function testCreateCallbackStrategy(): void
23 23
     {
24
-        $callback = static function ($connections): void {
24
+        $callback = static function($connections): void {
25 25
         };
26 26
 
27 27
         $strategy = StrategyFactory::create($callback);
Please login to merge, or discard this patch.
tests/Connection/Strategy/CallbackStrategyTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     {
23 23
         $count = 0;
24 24
 
25
-        $callback = static function ($connections) use (&$count): Connection {
25
+        $callback = static function($connections) use (&$count): Connection {
26 26
             ++$count;
27 27
 
28 28
             return \current($connections);
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     {
43 43
         $count = 0;
44 44
 
45
-        $config = ['connectionStrategy' => static function ($connections) use (&$count): Connection {
45
+        $config = ['connectionStrategy' => static function($connections) use (&$count): Connection {
46 46
             ++$count;
47 47
 
48 48
             return \current($connections);
Please login to merge, or discard this patch.
tests/StatusTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 
97 97
         $indicesWithAlias = $status->getIndicesWithAlias($aliasName);
98 98
         $this->assertEquals([$indexName], \array_map(
99
-            static function ($index) {
99
+            static function($index) {
100 100
                 return $index->getName();
101 101
             },
102 102
             $indicesWithAlias
Please login to merge, or discard this patch.
tests/BulkTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -550,7 +550,7 @@
 block discarded – undo
550 550
         $doc2 = new Document(2, ['name' => 'Beckenbauer'], $index);
551 551
         $doc3 = new Document(3, ['name' => 'Baggio'], $index);
552 552
         $doc4 = new Document(4, ['name' => 'Cruyff'], $index);
553
-        $documents = \array_map(static function ($d) {
553
+        $documents = \array_map(static function($d) {
554 554
             $d->setDocAsUpsert(true);
555 555
 
556 556
             return $d;
Please login to merge, or discard this patch.