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 https://github.com/DeepLcom/deepl-php/blob/68d192da11791ae249b35b3a3f87008a1cf1d298/src/HttpClientWrapper.php#L76 We should add a check: ```php 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
https://github.com/DeepLcom/deepl-php/blob/68d192da11791ae249b35b3a3f87008a1cf1d298/src/HttpClientWrapper.php#L76
We should add a check: