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
|
\curl_close($this->curlHandle); |
We should add a check:
if (PHP_VERSION_ID < 80000) {
\curl_close($this->curlHandle);
}
When I run DeepL with PHP 8.5, I get a deprecation notice.
See https://www.php.net/manual/en/function.curl-close.php
deepl-php/src/HttpClientWrapper.php
Line 76 in 68d192d
We should add a check: