Skip to content

curl_close() deprecation warnings on PHP 8.5+ #6

Description

@etrepat

Since PHP 8.0, CurlHandle was changed from a resource to an object (CurlHandle), which is automatically garbage collected when it goes out of scope. Starting with PHP 8.5, calling curl_close() explicitly triggers a deprecation notice.

The Client class calls curl_close() explicitly in several places across all public API methods (startSolicitation, getIdentificationForm, updateOrder, ...), producing noisy deprecation warnings on an application running PHP 8.5+.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions