-
Notifications
You must be signed in to change notification settings - Fork 23
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] Fixes for implicit nullability deprecation #154
Conversation
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.
@Ayesh Thanks for the PR. Unfortunately, this PR cannot be accepted.
PHP-Parallel-Lint/composer.json
Line 13 in 539292f
"php": ">=5.3.0", |
@Ayesh Would you be okay with me updating this PR to get it into a mergable state ? @grogy Once this patch is ready, we should merge it, cherrypick it to As |
Please feel free to update the PR. If it makes things easier/cleaner, lets just close this one. Completely trusting you hands that you will sort balance the deprecation notices and the best compatibility. |
Thanks @Ayesh ! I've just pushed an update. Let's hope the build passes ;-) |
I've just cherrypicked the commit from PR #152 into this one to get the builds running properly. 🤞🏻 |
Test failure on PHP 8.4 looks to be related to incompatibilities in the last version of PHPUnit 9 (will likely be fixed soon), not related to this package itself. |
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.
This is amazing, thank you! |
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations. See: - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types) - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)
Thank to both, it looks great. I merge it. |
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations.
See: