Fix PHP 8.5 curl_close()/curl_multi_close() deprecation#119
Fix PHP 8.5 curl_close()/curl_multi_close() deprecation#119lohanidamodar merged 1 commit intomainfrom
Conversation
Greptile SummaryRemoves three deprecated no-op calls — Confidence Score: 5/5Safe to merge — straightforward removal of formally deprecated no-op calls with no behavioral change. Single-file change that removes calls which have been no-ops since PHP 8.0. No logic is altered, no resource management is affected (GC handles cleanup on scope exit), and curl_share_close is correctly retained. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "Remove deprecated curl_close() and curl_..." | Re-trigger Greptile |
Summary
\curl_close($ch)and\curl_multi_close($mh)calls inMessaging\Adapterthat triggerDeprecatednotices on PHP 8.5.Why
Both functions have been no-ops since PHP 8.0 and are now formally deprecated in 8.5. Handles are freed when their variables go out of scope.
Test plan
composer lint(Pint) — passcomposer analyse(PHPStan L6) — pass