-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
When I run DeepL with PHP 8.5, I get a deprecation notice.
Deprecated: Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0
See https://www.php.net/manual/en/function.curl-close.php
deepl-php/src/HttpClientWrapper.php
Line 76 in 68d192d
| \curl_close($this->curlHandle); |
We should add a check:
if (PHP_VERSION_ID < 80000) {
\curl_close($this->curlHandle);
}daniel-jones-dev
Metadata
Metadata
Assignees
Labels
No labels