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
https://psalm.dev/r/afe6df2159
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php class a { private int $value = 0; public function handle(a $v): void { if ($v instanceof b) { $v->value = 123; } else { $v->value = 321; } } } class b extends a {}
Psalm output (using commit f315647): ERROR: UndefinedPropertyAssignment - 7:13 - Instance property b::$value is not defined
Sorry, something went wrong.
Ugh, I hate this thing so much I made a plugin to forbid this: https://github.com/orklah/psalm-strict-visibility
But I guess it's a valid issue still
No branches or pull requests
https://psalm.dev/r/afe6df2159
The text was updated successfully, but these errors were encountered: