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); }
Activity
daniel-jones-dev commentedon Dec 9, 2025
Hi @Soean, I noticed this recently too, thanks for suggesting a fix. I'll add it in soon.
Stirreg commentedon Feb 27, 2026
Hi @daniel-jones-dev I was wondering if there's an indication of when this will be fixed? Would it help if I open a PR with the suggested fix?
daniel-jones-dev commentedon Mar 12, 2026
Hey sorry for the delay, and thanks for the reminder. The fix in main now, we'll tag a new release soon.