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
finally
Here, I would expect an UnevaluatedCode message, since the last return of this function will never be evaluated.
<?php function noOp(): void { return; } function doAThing(): bool { try { noOp(); } finally { return true; } return false; }
https://psalm.dev/r/d36dedcb6c
The text was updated successfully, but these errors were encountered:
I found these snippets:
Psalm output (using commit 09137b0): No issues!
Sorry, something went wrong.
6c7f89b
No branches or pull requests
Here, I would expect an UnevaluatedCode message, since the last return of this function will never be evaluated.
https://psalm.dev/r/d36dedcb6c
The text was updated successfully, but these errors were encountered: