Download Latest Version 6.18.0 source code.zip (5.4 MB) Google Add to Preferred Sources
Home / 6.17.0
Name Modified Size InfoDownloads / Week
Parent folder
psalm.phar 2026-09-10 51.7 MB
psalm.phar.asc 2026-09-10 228 Bytes
6.17.0 source code.tar.gz 2026-09-10 4.6 MB
6.17.0 source code.zip 2026-09-10 5.3 MB
README.md 2026-09-10 3.5 kB
Totals: 5 Items   61.6 MB 0

What's Changed

Features

  • Support better template inference with type variables: class templates that cannot be inferred at the construction site are now tracked as type variables whose bounds are reconciled once the surrounding function has been analyzed. This legalizes widening within a template's declared bounds (e.g. new Box(1) followed by $box->set('two') under @template T of int|string) and introduces the new IncompatibleTypeParameters issue (level 1), documented in https://psalm.dev/docs/annotating_code/type_variables/ by @muglug in https://github.com/vimeo/psalm/pull/11875

Fixes

Docs

Internal changes

Other changes

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/6.16.1...6.17.0

Source: README.md, updated 2026-09-10