| @@ -6,7 +6,6 @@ | ||
| 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; | 
| @@ -5,7 +5,6 @@ | ||
| 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 | 
| @@ -119,7 +119,7 @@ | ||
| 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 | |
| @@ -99,7 +99,7 @@ | ||
| 99 | 99 | $index->refresh(); | 
| 100 | 100 | |
| 101 | 101 | $queryString1 = ['query_string' => [ | 
| 102 | - 'query' => 'Bade*', | |
| 102 | + 'query' => 'Bade*', | |
| 103 | 103 | ], | 
| 104 | 104 | ]; | 
| 105 | 105 | |
| @@ -168,7 +168,7 @@ | ||
| 168 | 168 | 'persistent' => true, | 
| 169 | 169 | ], | 
| 170 | 170 | 'Http:Persistent', | 
| 171 | - ]; | |
| 171 | + ]; | |
| 172 | 172 | } | 
| 173 | 173 | |
| 174 | 174 | protected function getData(string $test): array | 
| @@ -142,14 +142,14 @@ | ||
| 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', | 
| @@ -95,7 +95,7 @@ | ||
| 95 | 95 | 'integer', | 
| 96 | 96 | \gettype($resultSet->getTotalTime()), | 
| 97 | 97 | 'Total Time should be an integer' | 
| 98 | - ); | |
| 98 | + ); | |
| 99 | 99 | } | 
| 100 | 100 | |
| 101 | 101 | /** | 
| @@ -25,7 +25,7 @@ | ||
| 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'])); | 
| @@ -44,7 +44,7 @@ | ||
| 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', |