-
Unlike typescript where Record means every key has a value of string, psalm treats this as `or`.
Currently only array{foo: string, bar: string} is possible to tell psalm that ALL these keys exist wit…
-
https://psalm.dev/r/18d1dfabd5
After the `isset` check, every values are considered as mixed by psalm.
-
Hello Devs.
Anytime we reference a source object-property through a try-catch Psalm makes the conclusion that the resulting array-key is possibly unset, even though the object property has no beari…
-
```
What steps will reproduce the problem?
1. Footnotes and references
2. slide left to another verse, slide left to another verse,...
What is the expected output? What do you see instead?
1. In Ps…
-
**Is your feature request related to a problem? Please describe.**
When trying to include infection into an existing project, the amount of issues might be too overwhelming to deal with right from th…
-
this should not error https://psalm.dev/r/808fd263bd
-
Example from the documentation: https://psalm.dev/docs/annotating_code/type_syntax/utility_types/#tk
https://psalm.dev/r/be7148dbb1
-
For example, if I add the following patch to CoreGenericClasses.phpstub, it doesn't give me any indication that the same class was already declared in src/Psalm/Internal/Stubs/CoreImmutableClasses.php…
-
Conditional types aren't always checked correctly: https://psalm.dev/r/126be756c1
Known conditional type doesn't prevent PropertyNotSetInConstructor: https://psalm.dev/r/9b4d927b56
PHP type prevents…
-
Psalm should display an issue here: https://psalm.dev/r/efad1da214 https://3v4l.org/c20dv