Remove deprecated curl_close calls#47
Conversation
Greptile SummaryRemoves the now-deprecated Confidence Score: 5/5Safe to merge — purely removes a no-op deprecated call with no behavioral change. All four changes are identical one-line deletions of a call that has had no effect since PHP 8.0. No logic is altered, no resources are leaked, and the fix is applied consistently across every affected adapter. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "Remove deprecated curl_close calls" | Re-trigger Greptile |
What does this PR do?
Removes calls to
curl_close(). Since PHP 8.0, cURL handles areCurlHandleobjects andcurl_close()no longer has an effect; handles are released by object lifetime instead. Removing these calls avoids noisy PHP 8.5 deprecation warnings without changing behavior for supported PHP versions.Test Plan
php -lon changed PHP files where applicable.curl_close(...)calls remain in this repository.Related PRs and Issues
N/A
Have you read the Contributing Guidelines on issues?
Yes.