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>
orT<false>
are now acceptable as standins for ofT<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 insprintf
(#1792) - missing static class constants are now complained about (#1791)
- ๐ allow
uksort
to acceptversion_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)
- psalm-language-server :