Fix PHP 8.5 curl_close() deprecation#67
Conversation
Refs: CLO-4293
Greptile SummaryRemoves two Confidence Score: 5/5This PR is safe to merge — it removes deprecated no-op calls with no behavioral impact. The change is minimal and correct: curl_close() has been a documented no-op since PHP 8.0, and PHP 8.5 formalises the deprecation. Removing the calls does not affect resource management since the curl handles are freed on scope exit. No logic, error handling, or control flow is altered. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "Remove deprecated curl_close() calls (PH..." | Re-trigger Greptile |
Summary
\curl_close($ch)calls inOrchestration\Adapter\DockerAPIthat triggerDeprecatednotices on PHP 8.5.Why
curl_close()has been a no-op since PHP 8.0 and is now formally deprecated in 8.5. The curl handle is freed when the variable goes out of scope.Test plan
composer lint(Pint) — passcomposer check(PHPStan L6) — pass