From 2b7e29ea83315e2a2444d152a8dd545ac07614c6 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 29 Apr 2026 15:47:12 +0530 Subject: [PATCH] Remove deprecated curl_close calls --- src/Migration/Target.php | 1 - tests/Migration/E2E/Sources/Base.php | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Migration/Target.php b/src/Migration/Target.php index 8dbc5a87..777609f2 100644 --- a/src/Migration/Target.php +++ b/src/Migration/Target.php @@ -150,7 +150,6 @@ protected function call( throw new \Exception(\curl_error($ch), Exception::CODE_INTERNAL); } - \curl_close($ch); if ($responseStatus >= 400) { if (\is_array($responseBody)) { diff --git a/tests/Migration/E2E/Sources/Base.php b/tests/Migration/E2E/Sources/Base.php index 7b5bd403..9563344e 100644 --- a/tests/Migration/E2E/Sources/Base.php +++ b/tests/Migration/E2E/Sources/Base.php @@ -124,7 +124,6 @@ protected function call(string $method, string $path = '', array $headers = [], throw new \Exception(curl_error($ch)); } - curl_close($ch); if ($responseStatus >= 400) { if (is_array($responseBody)) {