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 @psalm-pure https://psalm.dev/r/8b8c7787b4 Without @psalm-pure https://psalm.dev/r/f979691a2a
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php /** * @psalm-pure */ function getException(): \Exception { return new \Exception(); } throw getException();
Psalm output (using commit ece1385): ERROR: UnusedFunctionCall - 11:7 - The call to getexception is not used
<?php function getException(): \Exception { return new \Exception(); } throw getException();
Psalm output (using commit ece1385): No issues!
Sorry, something went wrong.
Unused*Call applies to pure functions / methods only, but it shouldn't be reported in the first snippet.
Unused*Call
Maybe related to #5528
150dd00
No branches or pull requests
With @psalm-pure https://psalm.dev/r/8b8c7787b4
Without @psalm-pure https://psalm.dev/r/f979691a2a
The text was updated successfully, but these errors were encountered: