Skip to content

Conversation

@yehezkel-fullpath
Copy link

@yehezkel-fullpath yehezkel-fullpath commented Jan 19, 2026

Problem

The curl_close() function call in src/Transport/CurlerRequest.php triggers a deprecation warning in PHP 8.5+ environments:

PHP Deprecated: Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0

Root Cause

According to PHP documentation:

  • curl_close() has had no effect since PHP 8.0
  • The function is officially deprecated as of PHP 8.5
  • cURL handles are automatically cleaned up when they go out of scope

Solution

Removed the unnecessary curl_close($this->handle) call from the CurlerRequest::close() method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant