Skip to content

Conversation

@phpfui
Copy link
Contributor

@phpfui phpfui commented Dec 9, 2025

curl_close() as been a NoOp since PHP 8.0. This PR tests for the PHP version then only calls curl_close() on PHP versions below 8.0. This will avoid a depreciation notice.

I also fixed a depreciation notice in the test Mocks, changed PHP 8.4 to 8.5 for tests and updated the proposed version.

@jovanmaric jovanmaric merged commit 0b09830 into tinify:master Dec 10, 2025
16 checks passed
@jovanmaric
Copy link
Contributor

Hi @phpfui ,

Thanks for the PR. I've reviewed and merged it 💪!

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.

2 participants