Merge pull request #175 from utopia-php/codex/remove-curl-close-php85

Remove deprecated curl_close calls
This commit is contained in:
Luke B. Silver authored and GitHub committed 2026-04-29 12:19:13 +01:00
commit 952a4dfe23
2 files changed
-2

No files matched your search

-1
View File
@@ -150,7 +150,6 @@ abstract class Target
throw new \Exception(\curl_error($ch), Exception::CODE_INTERNAL);
}
\curl_close($ch);
if ($responseStatus >= 400) {
if (\is_array($responseBody)) {
-1
View File
@@ -124,7 +124,6 @@ abstract class Base extends TestCase
throw new \Exception(curl_error($ch));
}
curl_close($ch);
if ($responseStatus >= 400) {
if (is_array($responseBody)) {