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 reports incorrect "Variable $request might not be defined" warning. See the demo: https://phpstan.org/r/dd86ad8a-ffd3-4c6c-84f2-dc72189c973d
https://phpstan.org/r/dd86ad8a-ffd3-4c6c-84f2-dc72189c973d
This error should not be reported since Throwable should define the variable $response in case of error.
The text was updated successfully, but these errors were encountered:
Yeah, PHPStan does not yet track exceptions this way.
Sorry, something went wrong.
Looks like this is fixed https://phpstan.org/r/eb04da0b-4544-453e-b2cd-428213e56282
phpstan/phpstan-src@a17cdaf
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
Summary of a problem or a feature request
PHPStan reports incorrect "Variable $request might not be defined" warning. See the demo: https://phpstan.org/r/dd86ad8a-ffd3-4c6c-84f2-dc72189c973d
Code snippet that reproduces the problem
https://phpstan.org/r/dd86ad8a-ffd3-4c6c-84f2-dc72189c973d
Expected output
This error should not be reported since Throwable should define the variable $response in case of error.
The text was updated successfully, but these errors were encountered: