Completed
Pull Request — master (#1755)
by Ema
06:05 queued 13s
created
src/Bulk.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Elastica\Bulk\Action\AbstractDocument as AbstractDocumentAction;
7 7
 use Elastica\Bulk\Response as BulkResponse;
8 8
 use Elastica\Bulk\ResponseSet;
9
-use Elastica\Exception\Bulk\ResponseException;
10 9
 use Elastica\Exception\Bulk\ResponseException as BulkResponseException;
11 10
 use Elastica\Exception\InvalidException;
12 11
 use Elastica\Script\AbstractScript;
Please login to merge, or discard this patch.
tests/Query/IdsTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Elastica\Document;
6 6
 use Elastica\Index;
7 7
 use Elastica\Query\Ids;
8
-use Elastica\Query\Type;
9 8
 use Elastica\Test\Base as BaseTest;
10 9
 
11 10
 class IdsTest extends BaseTest
Please login to merge, or discard this patch.
tests/Query/TermsTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
         $terms = [
120 120
             'index' => 'index_name',
121 121
             'type' => 'type_name',
122
-             'id' => '1',
122
+                'id' => '1',
123 123
             'path' => 'terms',
124 124
         ];
125 125
 
Please login to merge, or discard this patch.
tests/Query/DisMaxTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
         $index->refresh();
100 100
 
101 101
         $queryString1 = ['query_string' => [
102
-              'query' => 'Bade*',
102
+                'query' => 'Bade*',
103 103
             ],
104 104
         ];
105 105
 
Please login to merge, or discard this patch.
tests/Transport/TransportBenchmarkTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
             'persistent' => true,
169 169
             ],
170 170
             'Http:Persistent',
171
-       ];
171
+        ];
172 172
     }
173 173
 
174 174
     protected function getData(string $test): array
Please login to merge, or discard this patch.
tests/Suggest/CompletionTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -142,14 +142,14 @@
 block discarded – undo
142 142
         $query = Query::create($sug);
143 143
 
144 144
         $expectedSuggestions = [
145
-          'suggestName1' => [
146
-              0 => [
147
-                  'text' => 'Neavermint',
148
-                  'offset' => 0,
149
-                  'length' => 10,
150
-                  'options' => [],
151
-                  ],
152
-          ],
145
+            'suggestName1' => [
146
+                0 => [
147
+                    'text' => 'Neavermint',
148
+                    'offset' => 0,
149
+                    'length' => 10,
150
+                    'options' => [],
151
+                    ],
152
+            ],
153 153
             'suggestName2' => [
154 154
                 0 => [
155 155
                     'text' => 'Neverdint',
Please login to merge, or discard this patch.
tests/ResultTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
             'integer',
96 96
             \gettype($resultSet->getTotalTime()),
97 97
             'Total Time should be an integer'
98
-         );
98
+            );
99 99
     }
100 100
 
101 101
     /**
Please login to merge, or discard this patch.
tests/Exception/PartialShardFailureExceptionTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
                         'number_of_replicas' => 0,
26 26
                         ],
27 27
                     ],
28
-           ], true);
28
+            ], true);
29 29
 
30 30
         $index->addDocument(new Document('', ['name' => 'ruflin']));
31 31
         $index->addDocument(new Document('', ['name' => 'bobrik']));
Please login to merge, or discard this patch.
tests/Aggregation/ReverseNestedTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
                 'tags' => ['foo', 'bar'],
45 45
             ]),
46 46
             new Document(2, [
47
-                 'comments' => [
47
+                    'comments' => [
48 48
                     [
49 49
                         'name' => 'bob',
50 50
                         'body' => 'this is another comment from bob',
Please login to merge, or discard this patch.