Uh oh!
There was an error while loading. Please reload this page.
Fix PHP 8.5 curl_close() deprecation - #30
Conversation
Refs: CLO-4294
Greptile SummaryRemoves the Confidence Score: 5/5Safe to merge — single-line removal of a known no-op; no behavioral change. The change is a well-understood, correct removal of a deprecated no-op API call with no side effects. No logic is altered. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "Remove deprecated curl_close() call (PHP..." | Re-trigger Greptile |
lohanidamodar
commented
May 3, 2026
Superseded by full migration to |
Summary
curl_close($ch)call inPay\Adapterthat triggers aDeprecatednotice 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) — pre-existing failure onmainunrelated to this change (pinnedphpstan/phpstan: 1.9.x-devis incompatible with PHP 8.4's stricterReflectionClassConstant::IS_PUBLICtype signature). Repo CI does not run PHPStan.