Skip to content

Releases: vimeo/psalm

5.19.1

17 Jan 11:48
b958349
Compare
Choose a tag to compare

What's Changed

Fixes

  • Deprecated Template Classes are not ignored by @psalm-suppress DeprecatedClass by @samlitowitz in #10518
  • Implement __set method in SimpleXMLElement stub by @kthaler in #10536
  • Make getrandmax type more specific and unserialize to require class-string by @kkmuffme in #10540
  • Fix mb_get_info can return null - CI failing bc of reflection by @kkmuffme in #10543
  • make basename & dirname return types more specific by @kkmuffme in #10545
  • add support for extract to set variables for keyed arrays and respect EXTR_SKIP by @kkmuffme in #10544
  • remove redundat directory separator which caused "//" in path not found errors by @kkmuffme in #10542
  • Fix empty literal string becomes non-empty-string by @kkmuffme in #10499

New Contributors

Full Changelog: 5.19.0...5.20.0

5.19.0

09 Jan 21:16
06b71be
Compare
Choose a tag to compare

What's Changed

Features

  • Reduce memory consumption of caching and parallel processing without igbinary by @sj-i in #10532
  • filter_input & filter_var return type more specific by @kkmuffme in #10498

Fixes

New Contributors

Full Changelog: 5.18.0...5.19.0

5.18.0

16 Dec 09:38
b113f3e
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Internal changes

New Contributors

Full Changelog: 5.17.0...5.18.0

5.17.0

04 Dec 14:33
c620f6e
Compare
Choose a tag to compare

What's Changed

Features

Fixes

  • Update MongoDB stubs for 1.17 by @alcaeus in #10402
  • Fix backtick analysis by @danog in #10409
  • Declare we do not support document highlighting by @tm1000 in #10408
  • update define types to be correct by @kkmuffme in #10423
  • Fix return type of DOMXPath::query by @nielsdos in #10443
  • Fix CLI -r error by @kkmuffme in #10442
  • Use correct file path while adding unused suppressions for virtual __… by @danog in #10434
  • Restore support for null coalesce on match expressions by @tscni in #10422
  • Fix static magic method pureness not being inherited from traits by @tscni in #10429
  • Fix POSIX only detection of absolute paths by @rarila in #10441
  • Emit UnusedPsalmSuppress issues for suppressed issues already removed by @danog in #10431
  • Use keyed arrays when assigning literal union keys & assertion fixes by @danog in #10439

Internal changes

  • use branch name to randomize tests to ensure test dependencies will error by @kkmuffme in #10424

New Contributors

Full Changelog: 5.16.0...5.17.0

5.16.0

22 Nov 22:02
2897ba6
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Docs

Internal changes

Other changes

New Contributors

Full Changelog: 5.15.0...5.16.0

5.15.0

21 Aug 03:16
5c774ac
Compare
Choose a tag to compare

What's Changed

Features

Fixes

  • Fixed DOMDocument::load* signatures by @weirdan in #10073
  • make (s)printf error reporting more correct/literal by @kkmuffme in #10088
  • Fix parameter having object type in PHPDoc and only & in the method's definition, used with code having an object calling it's method with itself as an argument for mentioned parameter by @kubawerlos in #10104
  • mysqli_field_seek returns true by @kamil-tekiela in #10107
  • Fix bcdiv nullable scale stub by @TheDevick in #10106
  • Cleanup test command and fixAll action by @weirdan in #10108
  • Correct type for $enum->name by @weirdan in #10109
  • argv and argc were inconsistent in Context with VariableFetchAnalyzer by @kkmuffme in #10093
  • Fix hash_pbkdf2 $options parameter by @weirdan in #10110
  • Forbid faulty nikic/php-parser version by @weirdan in #10112
  • strip_tags()/$allowed_tags can accept arrays since 7.4 by @weirdan in #10122
  • Fix crash when assertion array is not a list by @weirdan in #10123
  • Fix crash on array access to undefined class by @weirdan in #10134
  • Correct exit code for invalid version format by @weirdan in #10135

New Contributors

Full Changelog: 5.14.1...5.15.0

5.14.1

01 Aug 06:00
b9d355e
Compare
Choose a tag to compare

What's Changed

Fixes

  • Allow method-like strings in referencedFunction by @weirdan in #10071

Full Changelog: 5.14.0...5.14.1

5.14.0

30 Jul 21:04
b2942ce
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Internal changes

New Contributors

Full Changelog: 5.13.1...5.14.0

5.13.1

27 Jun 17:16
086b943
Compare
Choose a tag to compare

What's Changed

Fixes

Docs

  • Fix the link reference in the doc by @stof in #9967

Full Changelog: 5.13.0...5.13.1

5.13.0

26 Jun 07:16
a0a9c27
Compare
Choose a tag to compare

What's Changed

Features

  • Add a support for multilevel glob wildcards by @2e3s in #9813
  • Mapping closed inheritance to union during assertion by @klimick in #9829
  • Use PHPStorm output format by default on JetBrains terminals by @lptn in #9848
  • sprintf basic non-empty-string return type provider by @kkmuffme in #9841
  • Extend Shepherd payload by information about package versions by @lptn in #9856
  • Allow if/false assert for same variable to allow array/list distinction by @kkmuffme in #9853
  • readonly does not have write access, therefore is safe as long as the… by @kkmuffme in #9887
  • Sprintf improve return param type validation by @kkmuffme in #9877
  • feat: cache.gz by @dkarlovi in #9889
  • make compressor configurable v2 by @kkmuffme in #9924
  • Invalidate cached methods when referenced files are deleted by @tscni in #9931
  • Invalidate cached methods when referenced class property types change by @tscni in #9955

Fixes

Docs

  • Document classAndDescendants configuration tag by @janopae in #9867

Internal changes

  • Introduce and use IssueData constants for severity levels by @lptn in #9846
  • Shepherd: send a list of issues (instead of array with int keys) by @lptn in #9845
  • fix failing mock tests by @kkmuffme in #9880
  • Bump mheap/github-action-required-labels from 4 to 5 by @dependabot in #9898
  • fix CI warnings for findUnusedCode in psalm 6 by @kkmuffme in #9915
  • docblock parser minor performance gain by @kkmuffme in #9916
  • improve perfs for switch by not creating reverse assertions against constants by @orklah in #9929
  • remove StementsVolatileCache for perf reasons by @orklah in #9930
  • put config to true to prevent deprecations for new config files by @orklah in #9857
  • Make config warn about missing cache related functions by @ygottschalk in #9935
  • Fix/cache fail silent by @ygottschalk in #9932

Typos

New Contributors

Full Changelog: 5.12.0...5.13.0