We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
https://psalm.dev/r/0541b5b720 - expected that $a can be just Identifier.
$a
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php namespace SpecifiedTypesClosureUse; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\Identifier; use function PHPStan\Analyser\assertType; class Foo { public function doFoo(MethodCall $call): void { if ($call->name instanceof Identifier) { function () use ($call): void { /** @psalm-trace $a */ $a = $call->name; }; } } }
Psalm output (using commit e97a9c8): INFO: Trace - 17:5 - $a: PhpParser\Node\Expr|PhpParser\Node\Identifier INFO: UnusedVariable - 17:5 - Variable $a is never referenced
Sorry, something went wrong.
32d526b
Add descendant variables for closure uses
d07a8bb
Fixes vimeo#4522
No branches or pull requests
https://psalm.dev/r/0541b5b720 - expected that
$a
can be just Identifier.The text was updated successfully, but these errors were encountered: