Skip to content

Commit fe3089f

Browse files
Spamerczclaude
andcommitted
fix(tests): drop deprecated curl_close() call
curl_close() is a no-op since PHP 8.0 and is deprecated in PHP 8.5, so the Generic.PHP.DeprecatedFunctions sniff flags it via reflection and fails `make cs` on the 8.5 CI matrix. The CurlHandle is freed automatically when $ch goes out of scope. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 5c3bff2 commit fe3089f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/SpameriTests/ElasticQuery/AbstractElasticTestCase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ protected function request(
105105
}
106106

107107
$response = \curl_exec($ch);
108-
\curl_close($ch);
109108

110109
if ($response === false) {
111110
return [];

0 commit comments

Comments
 (0)