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
I think there should be a "possible division by zero" error on line 16
https://phpstan.org/r/5565ace0-6db6-4e00-aa45-7c429557d088
or maybe it should be a Binary operation "/" between int and int<0, max> might result in an error. ..?
Binary operation "/" between int and int<0, max> might result in an error.
No response
The text was updated successfully, but these errors were encountered:
Error would be nice ❤️ Running on hard "division by zero" while preparing application for PHP8.x
Sorry, something went wrong.
It already exists
You have to enable
parameters: exceptions: check: missingCheckedExceptionInThrows: true checkedExceptionClasses: - 'DivisionByZeroError'
Successfully merging a pull request may close this issue.
Bug report
I think there should be a "possible division by zero" error on line 16
Code snippet that reproduces the problem
https://phpstan.org/r/5565ace0-6db6-4e00-aa45-7c429557d088
Expected output
or maybe it should be a
Binary operation "/" between int and int<0, max> might result in an error.
..?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: