-
Hello, while developing external libraries, it is useful to see that static analyzers understand the code as expected. I'd like to do the same thing with Psalm, is there some equivalent tool? thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
weirdan
Oct 18, 2024
Replies: 1 comment 1 reply
-
There are several docblock tags that show / check types:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nikophil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are several docblock tags that show / check types:
$bar = int
means the type of$bar
is a subtype ofint
).1 = int
, unlike@psalm-check-type
that would pass.