We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With the very unfortunate acceptance of the implicitly nullable types deprecation RFC the following signature:
function foo(int $a = null): void
Will rise the following deprecation error in PHP 8.4:
Deprecated: foo(): Implicitly marking parameter $a as nullable is deprecated, the explicit nullable type must be used instead
I believe it would be useful to have a bleeding edge feature toggle to prepare for this change.
No response
The text was updated successfully, but these errors were encountered:
It doesn't have to be bleedingEdge, but it only will be reported when running on PHP 8.4, or when phpVersion is set to 80400 or higher.
Sorry, something went wrong.
It would be nice to have it as feature toggle to test it on lower versions as well, but I suppose one can just bump the global phpVersion parameter...
Implemented phpstan/phpstan-src@9bd027c
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Feature request
With the very unfortunate acceptance of the implicitly nullable types deprecation RFC the following signature:
Will rise the following deprecation error in PHP 8.4:
I believe it would be useful to have a bleeding edge feature toggle to prepare for this change.
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: