NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #525 most downloaded on Packagist
A static analysis tool for finding errors in PHP applications
Latest stable
7.15.0
Last release today
21 Nov 2026
Ships unpredictably
gaps range from 8 days to 5 months
Nearly every release is documented
notes for 54 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
568 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Fix iterable union containment and conditional type inference by @andrew-demb in #13329
Full Changelog: 6.21.0...6.21.1
Add support for reading inheritors from a phpstan-sealed tag by @stof in #11818
curl_share_setopt, imap_timeout, imap_expunge by @ThomasLandauer in #11858Full Changelog: 6.20.13...6.21.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix alter ignoring MissingThrowsDocblock suppression by @d-mitrofanov-v in #11586
Full Changelog: 6.20.12...6.20.13
[6.x] Fix crash when a class extends a class_alias() declared later by @wleeaf in #12494
[6.x] Fix crash when a closure unsets a by-reference captured variable (backport) by @alies-dev in #12058
NAN, INF and out-of-range float literals on PHP 8.5+ (backport) by @alies-dev in #13584Full Changelog: 6.20.10...6.20.11
✨ [ #11509 ] Fix regression about iterables, list and conditional types by @andrew-demb in #11558
Full Changelog: 6.20.9...6.20.10
Fix LSP lookup of builtin functions in files not analyzed in-process by @M393 in #13237
array_first and array_last (PHP 8.5) by @alies-dev in #12157array_find/array_any/array_all callbacks by @alies-dev in #13245array_pop/array_shift by @alies-dev in #13246Full Changelog: 6.20.8...6.20.9
[6.x] Push the files composer build regenerates instead of failing by @danog in #13147
Document the Psalm GitHub actions by @danog in #13051
CI: Make the perf PR comment and table more readable by @alies-dev in #12922
Full Changelog: 6.20.5...6.20.6
[6.x] Treat New Relic PHP ext functions as impure and correct their signatures by @alies-dev in #12293
#[\DelayedTargetValidation] (PHP 8.5) by @alies-dev in #12282@mixin is ignored for property fetches by @alies-dev in #12289@method is not resolved by @alies-dev in #12206opcache.jit is already off by @alies-dev in #12705Full Changelog: 6.20.4...6.20.5
[6.x] Fix: false InvalidAttribute for #[\Deprecated] on traits (PHP 8.5) by @alies-dev in #12277
#[\Deprecated] on traits (PHP 8.5) by @alies-dev in #12277Full Changelog: 6.20.3...6.20.4
[6.x] Fix a ~600 MiB memory regression from 6.19.2 (nullsafe chain state on every node) by @jarstelfox in #12493
Full Changelog: 6.20.2...6.20.3
Analyse traits declared inside a namespace by @ybai08 in #12498
Full Changelog: 6.20.1...6.20.2
[6.x] Keep config untouched when --set-baseline runs with --use-baseline by @alies-dev in #12385
--set-baseline runs with --use-baseline by @alies-dev in #12385self and parent in @param-out against the declaring class by @alies-dev in #12391Full Changelog: 6.20.0...6.20.1
[6.x] Add generic stubs for the PHP 8.4 Dom\ API by @alies-dev in #12231
Full Changelog: 6.19.2...6.20.0
[6.x] Report string increments as deprecated since PHP 8.5 (backport) by @alies-dev in #12062
parent:: first-class callables of @method pseudo-methods by @alies-dev in #12148Full Changelog: 6.19.1...6.19.2
Keep polyfills of newer native functions out of the global functions on cached runs by @danog in #12025
$class::$prop reads and assignments when the class is a variable by @HenkPoley in #12040new $c checks when the class string has a leading backslash by @HenkPoley in #12039Full Changelog: 6.19.0...6.19.1
[6.x] Support @param-closure-this docblock tag by @alies-dev in #11853
@param-closure-this docblock tag by @alies-dev in #11853#[\Override] on properties (PHP 8.5) by @alies-dev in #11891IdeDetector, auto-detect IDE when none specified by @alies-dev in #11802extraFiles also for language server by @susnux in #11919clone() withProperties keys by @alies-dev in #11999TKeyedArray::make() factory to 6.x for cross-version plugin compatibility by @alies-dev in #11810Full Changelog: 6.18.1...6.19.0
Emit issues on php <8.5 if overridden method uses self instead of static by @danog in #11985
@self-out / @this-out by @alies-dev in #11964TypeParseTreeException for an incomplete conditional type by @alies-dev in #11962Full Changelog: 6.18.0...6.18.1
[6.x] Support the PHP 8.5 #[\NoDiscard] attribute by @alies-dev in #11892
#[\NoDiscard] attribute by @alies-dev in #11892trace key to error_get_last() by @janedbal in #11975self in @property type tokens at scan time by @alies-dev in #11846Full Changelog: 6.17.2...6.18.0
Fix function manipulator by @danog in #11671
Full Changelog: 6.17.1...6.17.2
What's Changed Fixes Fix #11937 by @danog in #11938 Full Changelog : 6.17.0...6.17.1
Support better template inference with type variables: class templates that cannot be inferred at the construction site are now tracked as type variab
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 #11875$this failing to parse inside generic type parameters by @alies-dev in #11768PHPSTORM env var on Darwin by @alies-dev in #11801covariant/contravariant keywords in generic type parameters instead of reporting UndefinedDocblockClass (backport) by @alies-dev in #11836TLiteralFloat now renders NAN values as float(NAN) in type keys and IDs instead of crashing by @danog in 9d6db9e and ca15124docs/annotating_code/type_variables.md and the IncompatibleTypeParameters issue page by @muglug in #11875impure- Closure prefix in TypeParseTest by @alies-dev in #11834Override in SuicidalAutoloader fixture by @alies-dev in #11835test-with-real-projects.sh on macOS (use gsed when available, tolerate a missing phar) by @danog in 9d6db9evoidParamType test: nikic/php-parser 5.8 rejects void params at parse time by @danog in 056992a90Full Changelog: 6.16.1...6.17.0
Fix --show-snippet option silently consuming next CLI argument by @alies-dev in #11684
Full Changelog: 6.16.0...6.16.1
Add stub for memcached by @ADmad in #11717
Full Changelog: 6.15.1...6.16.0
Allow sebastian/diff 8 by @Jean85 in #11667
Note: GPG signatures for older releases will be regenerated shortly using the new 99BF4D9A33D65E1E key, since the old one expired.
Note: GPG signatures for older releases will be regenerated shortly using the new 99BF4D9A33D65E1E key, since the old one expired.
Full Changelog: 6.14.3...6.15.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.