Psalm not show attributes methods errors in another file #7888
vadikgr-hub
started this conversation in
Psalm development (AKA internals)
Replies: 1 comment 2 replies
-
|
How are your classes loaded? Are you using PSR-4 autoloading with composer? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I call the method \Test\MyClass::test('string'); in file 1. psalm work correct and show error "psalm: InvalidScalarArgument: Argument 1 of..."
Why in file 2 psalm dont show attributes errors(InvalidScalarArgument)?
File 1:
File 2:
psalm.xml:
Please explain to a newbie what I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions