Features
- various taint analysis improvements
- added an
<extraFiles>
tag to tell Psalm about directories it should scan, but not analyse (#3618)
Bugfixes
- add better support for complex
switch (true)
case statements (#3603) - allow lists to have their types refined in
@psalm-assert
calls (#3605) - treat
(Foo\Bar::class)::baz()
asFoo\Bar::baz()
(#3609) - @andrei-petre improved error message casing for undefined methods (#3615)
- @iluuu1994 allowed strings with leading backslashes e.g.
'\Foo\Bar::baz'
to be treated as callables (#3607) - prevent a crash when analysing an assertion on a class constant where the class doesn’t exist (#3607)