Skip to content

Removed curl_close to avoid deprecation warning on PHP 8.5#155

Merged
willpower232 merged 1 commit into
RobThree:masterfrom
givanz:master
Jan 5, 2026
Merged

Removed curl_close to avoid deprecation warning on PHP 8.5#155
willpower232 merged 1 commit into
RobThree:masterfrom
givanz:master

Conversation

@givanz

@givanz givanz commented Jan 2, 2026

Copy link
Copy Markdown
Contributor

Removed curl_close that has no effect since PHP 8.0 to avoid deprecation warning on PHP 8.5

@NicolasCARPi

Copy link
Copy Markdown
Collaborator

@NicolasCARPi NicolasCARPi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before merging this change, the commit message must be improved to include a reference to the deprecation (https://www.php.net/manual/en/migration85.deprecated.php#migration85.deprecated.curl) and explain why it is no longer necessary: Since 8.0 a CurlHandle object is returned, and curl_close() has no effect, so this change won't impact earlier versions.

@willpower232

Copy link
Copy Markdown
Collaborator

@NicolasCARPi something like this in the squash merge?

image

@NicolasCARPi

Copy link
Copy Markdown
Collaborator

@willpower232 LGTM ;)

@willpower232 willpower232 merged commit 3516aae into RobThree:master Jan 5, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants