github vimeo/psalm 4.5.2
Fix PHP 7.1-7.2 builds

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

4.5.0 introduced syntax incompatible with PHP 7.2, this fixes it – thanks to @drealecs, and @weirdan who prevented future regressions.

  • fixes a possible infinite loop with some generic instantiation (#5211)
  • adds completions for function names thanks to @joehoyle (#5128)
  • allows @psalm-type to be used inside generics thanks to @leightonthomas (#5205)
  • array_key_exists now behaves a little safer thanks to @brainlock (#5197)
  • allow is_array check on a templated iterable (#5198)

Don't miss a new psalm release

NewReleases is sending notifications on new releases.