From 92d52cf3ee7a58388b714900aeff8d6950805555 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 29 Apr 2026 15:47:12 +0530 Subject: [PATCH 1/2] Remove deprecated curl_close calls --- src/VCS/Adapter.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/VCS/Adapter.php b/src/VCS/Adapter.php index 96ae8437..696ad0bf 100644 --- a/src/VCS/Adapter.php +++ b/src/VCS/Adapter.php @@ -408,7 +408,6 @@ protected function call(string $method, string $path = '', array $headers = [], throw new Exception(curl_error($ch) . ' with status code ' . $responseStatus, $responseStatus); } - curl_close($ch); $responseHeaders['status-code'] = $responseStatus; From e3495a209bc1919f7af8656ac83f80d6efdd0d2f Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 29 Apr 2026 15:51:53 +0530 Subject: [PATCH 2/2] Clean up curl_close removal formatting --- src/VCS/Adapter.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/VCS/Adapter.php b/src/VCS/Adapter.php index 696ad0bf..ab8c48cf 100644 --- a/src/VCS/Adapter.php +++ b/src/VCS/Adapter.php @@ -408,7 +408,6 @@ protected function call(string $method, string $path = '', array $headers = [], throw new Exception(curl_error($ch) . ' with status code ' . $responseStatus, $responseStatus); } - $responseHeaders['status-code'] = $responseStatus; if ($responseStatus === 500) {