-
Notifications
You must be signed in to change notification settings - Fork 301
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
Still requires GMP #316
Comments
This comment has been minimized.
This comment has been minimized.
Would also appreciate some clarity on this: not requiring GMP would be huge for adoption in my use case. |
Based on my testing, web-push-php does work fine without GMP on PHP 7.3+. This is mostly due to PHP 7.3+ using |
Ah great, thanks for the testing! PHP 7.2 is EOL anyways, so this is excellent news. |
Since I showed you that 7.2 does not work, here actually an example that unit tests start working with PHP 7.3 (only phpstan issues left): https://github.com/marc1706/web-push-php/runs/2607203285?check_suite_focus=true |
I it is possible to add a check for the php version and only require gmp in case of php<7.3 ? |
README says:
but the code still triggers warning:
web-push-php/src/WebPush.php
Lines 73 to 81 in eddd95c
What's the real status with GMP?
The text was updated successfully, but these errors were encountered: