-
Notifications
You must be signed in to change notification settings - Fork 529
Fix compatibility with PHP 8.0 #740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It looks like the |
I fixed the compilation of the |
PS: for |
Besides the GMagick error and the incompatible dev-dependencies PHP 8.0 compatibility should be OK with this pull request I think. |
It looks like there is not much activity in GMagick (see vitoc/gmagick#48 ). @mlocati should we merge this as it is now to have at least GD and IMagick support for PHP 8.0? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fixing this issue. ❤️
I'm using this library in an application that I'd like to test with php 8. Merging at least the fix for the GD incompatibilities would really help me out.
That’s pretty much everything this PR does. There don’t seem to be any other incompatibilities with PHP 8.0. The planned release date for PHP 8.0 is less than a month away, so I think it would be a good time to merge this PR |
In PHP 8.0 the GD resources got replaced with
GdImage
objects, see php/php-src@8aad466