-
-
Notifications
You must be signed in to change notification settings - Fork 155
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 - Implicit nullability deprecation #442
Comments
This library is used by @theofidry's When I use
There must be an error handler, either in this library or in TL;DR: As of right, I cannot release new versions of PHPUnit using PHP 8.4 due to this library not being compatible with PHP 8.4. |
@sebastianbergmann @theofidry looking at thecodingmachine/safe repo I can't see a error handler. since PHPUnit got new releases I guess this problem got somehow fixed for you? |
I downgraded PHP to roll the release of PHPUnit 11.4.4. |
Hi @staabm is there any chance that you have a plan to publish a release to include these changes? Last release is over one year ago. |
We discuss it in #499 |
PHP 8.4 recently merged changes to emit a deprecation notice on function declared with an implicit nullable type.
All upstream functions in php-src already have the nullable types (
?string $var = null
and notstring $var = null
), so we will need to update our generator to account for this.I submitted PR #441 to preview the expected changes.
The text was updated successfully, but these errors were encountered: