-
Notifications
You must be signed in to change notification settings - Fork 468
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
php 8.4: Implicitly marking parameter $x as nullable is deprecated, the explicit nullable type must be used instead #653
Comments
Line numbers above are with 8.12.43
|
7.4 is now the minimum version, which allows us to do the necessary stuff for this. However, the pipeline for 8.4 isn't reporting any issues? https://github.com/giggsey/libphonenumber-for-php/actions/runs/11179907839/job/31080518166 |
The issue was not revealed with your test suite actually. |
Can you share how the deprecations were displayed? PHPUnit has (now) been configured to convert deprecations to exceptions, but the pipeline is running 8.4-dev, so maybe it's not on the correct release yet. |
Thanks. I can see the issue on the lite project: https://github.com/giggsey/libphonenumber-for-php-lite/actions/runs/11231376835/job/31220687096?pr=73 |
This should now be fixed with the latest version. When running 8.4-rc via Docker locally, I was able to find the errors |
While trying to use your library with php-8.4-rc I have the following deprecation warnings.
The text was updated successfully, but these errors were encountered: