-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
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
UnsupportedPropertyReferenceUsage cannot be suppressed #9825
Labels
Comments
Hey @mrsuh, can you reproduce the issue on https://psalm.dev ? |
I found these snippets: https://psalm.dev/r/675057a770<?php
class Test {
public array $array = [];
public function test(string $key): void {
/** @psalm-suppress all */
$stat = &$this->array[$key];
/** @psalm-suppress ForbiddenCode */
var_dump($stat);
}
}
|
@jack-worman could you take a look? MaybeAdd take a second param that should be the list of suppressed issues |
jack-worman
added a commit
to jack-worman/psalm
that referenced
this issue
May 26, 2023
Merged
jack-worman
added a commit
to jack-worman/psalm
that referenced
this issue
May 26, 2023
orklah
added a commit
that referenced
this issue
May 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: