Skip to content
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

Fix warnings under PHP 8.4 #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fix warnings under PHP 8.4 #1

wants to merge 4 commits into from

Conversation

Firehed
Copy link

@Firehed Firehed commented Jan 6, 2025

8.4 starts issuing warnings about implicit nullable parameters, e.g. int $foo = null should be ?int $foo = null. This change corrects the signatures for compatibility.

This also relatedly blocks versions of PHP with a regression in GMP, demonstrated at https://3v4l.org/lnhXp

@Firehed
Copy link
Author

Firehed commented Jan 6, 2025

I'm also trying to contribute this upstream, but there's been no activity I can see since Feb 2022 so I don't realistically expect the PR to be accepted. I'll likely use this version as an alternate until/unless the changes land upstream.

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.

1 participant