Psalm v3.4.5 Release Notes

Release Date: 2019-06-16 // almost 5 years ago
  • ๐Ÿ”‹ Features

    • psalm-language-server : --enable-autocompletion is now enabled by default, after a ton of great work by @joshdifabio
    • ๐Ÿ”จ psalm-refactor : allow multiple class renames at once
    • ๐Ÿ”จ psalm-refactor : allow multiple method renames when the methods reference one another
    • there's now a non-zero exit code when a config file is not found (#1779)
    • PHP 7.4 : nullable typed properties e.g. public ?int $foo are now also checked for initialisation (#1787)
    • ๐Ÿ—„ DeprecatedFunction is now emitted when using a deprecated function (#1793)
    • slightly improved readability for object-like array output in error messages, thanks @Kocal (#1708)

    ๐Ÿ›  Bugfixes

    • interface @template-extends wasn't being inherited properly (#1766)
    • get rid of notice with a by-ref array assignment with an unmet var-id (#1770)
    • T<true> or T<false> are now acceptable as standins for of T<bool> (#1775)
    • --report-show-info=false now works as advertised (#1773)
    • psalm-language-server fixed erroneous behaviour on save seen in Vim and Sublime (#1780)
    • ๐Ÿ‘ allow scalar type in sprintf (#1792)
    • missing static class constants are now complained about (#1791)
    • ๐Ÿ‘ allow uksort to accept version_compare (and improve handling of multiple-signature callmap options) (#1781)
    • UndefinedFunction no longer causes analysis to stop in the given block (#1790)
    • Missing docblock brackets are now detected (#1784)