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
Same symptoms as #8263.
https://psalm.dev/r/4da30212ca
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php /** * @psalm-type Foo = 'a'|'b' */ class Dummy { } /** * @psalm-import-type Foo from Dummy as Bar */ class Dummy2 { } /** * @psalm-assert Bar $param */ function test(mixed $param) : bool { echo (string)$param; return true; } function caller(string $value) : void { if (test($value)) error_log('something'); }
Psalm output (using commit cb0e6a1): ERROR: TypeDoesNotContainType - 28:9 - Cannot resolve types for $value - string does not contain type-alias(Dummy::Foo)
Sorry, something went wrong.
No branches or pull requests
Same symptoms as #8263.
https://psalm.dev/r/4da30212ca
The text was updated successfully, but these errors were encountered: