Skip to content

Commit bc6d3e2

Browse files
committed
php 8.5
1 parent 7d84f3b commit bc6d3e2

24 files changed

+0
-81
lines changed

tests/SpameriTests/ElasticQuery/Aggregation/AggregationCollection.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class AggregationCollection extends \Tester\TestCase
2020
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
2121

2222
\curl_exec($ch);
23-
\curl_close($ch);
2423
}
2524

2625

@@ -178,8 +177,6 @@ class AggregationCollection extends \Tester\TestCase
178177
$result = $resultMapper->map(\json_decode($response, true));
179178
\Tester\Assert::type(\Spameri\ElasticQuery\Response\ResultSearch::class, $result);
180179
});
181-
182-
\curl_close($ch);
183180
}
184181

185182

@@ -192,7 +189,6 @@ class AggregationCollection extends \Tester\TestCase
192189
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
193190

194191
\curl_exec($ch);
195-
\curl_close($ch);
196192
}
197193

198194
}

tests/SpameriTests/ElasticQuery/Aggregation/Avg.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class Avg extends \Tester\TestCase
2020
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
2121

2222
\curl_exec($ch);
23-
\curl_close($ch);
2423
}
2524

2625

@@ -81,8 +80,6 @@ class Avg extends \Tester\TestCase
8180
$result = $resultMapper->map(\json_decode($response, true));
8281
\Tester\Assert::type(\Spameri\ElasticQuery\Response\ResultSearch::class, $result);
8382
});
84-
85-
\curl_close($ch);
8683
}
8784

8885

@@ -95,7 +92,6 @@ class Avg extends \Tester\TestCase
9592
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
9693

9794
\curl_exec($ch);
98-
\curl_close($ch);
9995
}
10096

10197
}

tests/SpameriTests/ElasticQuery/Aggregation/Filter.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class Filter extends \Tester\TestCase
2020
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
2121

2222
\curl_exec($ch);
23-
\curl_close($ch);
2423
}
2524

2625

@@ -93,8 +92,6 @@ class Filter extends \Tester\TestCase
9392
$result = $resultMapper->map(\json_decode($response, true));
9493
\Tester\Assert::type(\Spameri\ElasticQuery\Response\ResultSearch::class, $result);
9594
});
96-
97-
\curl_close($ch);
9895
}
9996

10097

@@ -107,7 +104,6 @@ class Filter extends \Tester\TestCase
107104
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
108105

109106
\curl_exec($ch);
110-
\curl_close($ch);
111107
}
112108

113109
}

tests/SpameriTests/ElasticQuery/Aggregation/Histogram.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class Histogram extends \Tester\TestCase
2020
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
2121

2222
\curl_exec($ch);
23-
\curl_close($ch);
2423
}
2524

2625

@@ -82,8 +81,6 @@ class Histogram extends \Tester\TestCase
8281
$result = $resultMapper->map(\json_decode($response, true));
8382
\Tester\Assert::type(\Spameri\ElasticQuery\Response\ResultSearch::class, $result);
8483
});
85-
86-
\curl_close($ch);
8784
}
8885

8986

@@ -96,7 +93,6 @@ class Histogram extends \Tester\TestCase
9693
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
9794

9895
\curl_exec($ch);
99-
\curl_close($ch);
10096
}
10197

10298
}

tests/SpameriTests/ElasticQuery/Aggregation/LeafAggregationCollection.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class LeafAggregationCollection extends \Tester\TestCase
2020
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
2121

2222
\curl_exec($ch);
23-
\curl_close($ch);
2423
}
2524

2625

@@ -181,8 +180,6 @@ class LeafAggregationCollection extends \Tester\TestCase
181180
$result = $resultMapper->map(\json_decode($response, true));
182181
\Tester\Assert::type(\Spameri\ElasticQuery\Response\ResultSearch::class, $result);
183182
});
184-
185-
\curl_close($ch);
186183
}
187184

188185

@@ -195,7 +192,6 @@ class LeafAggregationCollection extends \Tester\TestCase
195192
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
196193

197194
\curl_exec($ch);
198-
\curl_close($ch);
199195
}
200196

201197
}

tests/SpameriTests/ElasticQuery/Aggregation/Max.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class Max extends \Tester\TestCase
2020
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
2121

2222
\curl_exec($ch);
23-
\curl_close($ch);
2423
}
2524

2625

@@ -81,8 +80,6 @@ class Max extends \Tester\TestCase
8180
$result = $resultMapper->map(\json_decode($response, true));
8281
\Tester\Assert::type(\Spameri\ElasticQuery\Response\ResultSearch::class, $result);
8382
});
84-
85-
\curl_close($ch);
8683
}
8784

8885

@@ -95,7 +92,6 @@ class Max extends \Tester\TestCase
9592
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
9693

9794
\curl_exec($ch);
98-
\curl_close($ch);
9995
}
10096

10197
}

tests/SpameriTests/ElasticQuery/Aggregation/Min.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class Min extends \Tester\TestCase
2020
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
2121

2222
\curl_exec($ch);
23-
\curl_close($ch);
2423
}
2524

2625

@@ -81,8 +80,6 @@ class Min extends \Tester\TestCase
8180
$result = $resultMapper->map(\json_decode($response, true));
8281
\Tester\Assert::type(\Spameri\ElasticQuery\Response\ResultSearch::class, $result);
8382
});
84-
85-
\curl_close($ch);
8683
}
8784

8885

@@ -95,7 +92,6 @@ class Min extends \Tester\TestCase
9592
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
9693

9794
\curl_exec($ch);
98-
\curl_close($ch);
9995
}
10096

10197
}

tests/SpameriTests/ElasticQuery/Aggregation/Nested.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class Nested extends \Tester\TestCase
2020
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
2121

2222
\curl_exec($ch);
23-
\curl_close($ch);
2423
}
2524

2625

@@ -81,8 +80,6 @@ class Nested extends \Tester\TestCase
8180
$result = $resultMapper->map(\json_decode($response, true));
8281
\Tester\Assert::type(\Spameri\ElasticQuery\Response\ResultSearch::class, $result);
8382
});
84-
85-
\curl_close($ch);
8683
}
8784

8885

@@ -95,7 +92,6 @@ class Nested extends \Tester\TestCase
9592
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
9693

9794
\curl_exec($ch);
98-
\curl_close($ch);
9995
}
10096

10197
}

tests/SpameriTests/ElasticQuery/Aggregation/Range.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class Range extends \Tester\TestCase
2020
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
2121

2222
\curl_exec($ch);
23-
\curl_close($ch);
2423
}
2524

2625

@@ -127,8 +126,6 @@ class Range extends \Tester\TestCase
127126
$result = $resultMapper->map(\json_decode($response, true));
128127
\Tester\Assert::type(\Spameri\ElasticQuery\Response\ResultSearch::class, $result);
129128
});
130-
131-
\curl_close($ch);
132129
}
133130

134131

@@ -141,7 +138,6 @@ class Range extends \Tester\TestCase
141138
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
142139

143140
\curl_exec($ch);
144-
\curl_close($ch);
145141
}
146142

147143
}

tests/SpameriTests/ElasticQuery/Aggregation/Term.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class Term extends \Tester\TestCase
2020
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
2121

2222
\curl_exec($ch);
23-
\curl_close($ch);
2423
}
2524

2625

@@ -153,8 +152,6 @@ class Term extends \Tester\TestCase
153152
$result = $resultMapper->map(\json_decode($response, true));
154153
\Tester\Assert::type(\Spameri\ElasticQuery\Response\ResultSearch::class, $result);
155154
});
156-
157-
\curl_close($ch);
158155
}
159156

160157

@@ -167,7 +164,6 @@ class Term extends \Tester\TestCase
167164
\curl_setopt($ch, \CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
168165

169166
\curl_exec($ch);
170-
\curl_close($ch);
171167
}
172168

173169
}

0 commit comments

Comments
 (0)