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
phpstan crashes on this,
<?php range(1, 3/2);
Internal error: range(): Argument #3 ($step) must be less than the range spanned by argument #1 ($start) and argument #2 ($end) Run PHPStan with --debug option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
A @phpstan-ignore-line won't work and I must exclude the file altogether.
@phpstan-ignore-line
See https://phpstan.org/r/bd8bdb89-b617-4dd3-a18d-80a20aa92f07
Not to crash and probably tell me that it doesn't make sense that then end value is lower than the start value, when applicable.
end
No response
The text was updated successfully, but these errors were encountered:
Fixed phpstan/phpstan-src@fe3895a
Sorry, something went wrong.
No branches or pull requests
Bug report
phpstan crashes on this,
A
@phpstan-ignore-line
won't work and I must exclude the file altogether.Code snippet that reproduces the problem
See https://phpstan.org/r/bd8bdb89-b617-4dd3-a18d-80a20aa92f07
Expected output
Not to crash and probably tell me that it doesn't make sense that then
end
value is lower than the start value, when applicable.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: