github vimeo/psalm 3.11.7
Add more taint analysis features

latest releases: 5.23.1, 5.23.0, 5.22.2...
3 years ago

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() as Foo\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)

Don't miss a new psalm release

NewReleases is sending notifications on new releases.