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
having the following class
class X{ /** @var array<string,string> */ static $queryCache = []; function query(string $hash, string $query): string{ if(isset(self::$queryCache[$hash])){ //emmits PhanPluginUndeclaredVariableIsset undeclared variable $self in isset() return self::$queryCache[$hash]; } return $query; } }
phan warns that $self is undeclared, which is obviously nonsense
The text was updated successfully, but these errors were encountered:
Fix false positive in InvalidVariableIssetPlugin
f2ffe28
Fixes phan#3089
d0a1d55
Successfully merging a pull request may close this issue.
having the following class
phan warns that $self is undeclared, which is obviously nonsense
The text was updated successfully, but these errors were encountered: