Psalm v3.4.7 Release Notes

Release Date: 2019-06-28 // almost 5 years ago
  • 🛠 Bugfixes

    🛠 Fixes an issue (#1859) introduced in 3.4.3 where conditional definitions of functions e.g.

    if (!function\_exists("some\_function")) {function some\_function() {...}}
    

    would result in a crash some_function does exist in the runtime, and it's internal.

    Also fixes a similar issue (#1860) where Psalm could crash while analysing blocks surrounded by a if (class_exists(Foo::class)) if Psalm thinks Foo always exists.