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.
Give Closure::getCurrent() the signature of the closure it is called in by @danog in #14467
Full Changelog: 7.14.0...7.15.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full PHP 8.6 support: deprecations, API types and capabilities by @danog in #14413
Full Changelog: 7.13.2...7.14.0
Don't prefix PHP's Io namespace in the phar (crash on PHP 8.6 with threads) by @danog in #14414
Full Changelog: 7.13.1...7.13.2
Fix template arguments of a parent named in another case, share @extends/@implements/ @use scanning by @orklah in #14397
Full Changelog: 7.13.0...7.13.1
Parse SQL queries to track security analysis taints by @danog in #14159
Full Changelog: 7.12.0...7.13.0
Fail CI on PHP deprecations (PHPunit) and run Shepherd on PHP 8.6 by @alies-dev in #14229
@optional-arguments-by-name, @arguments-by-name and @stable-parameter-names by @nicolas-grekas in #12389sort() and array_unique() when Psalm runs on PHP 8.6 by @alies-dev in #14201$x when $x ??= $y is compared with null by @orklah in #14282static kept on the union of $this and another object of its class by @shu-chen-dot-ca in #14078Full Changelog: 7.11.0...7.12.0
Report the CWE weaknesses of issues, and use the issue type as the SARIF rule id by @danog in #14156
Full Changelog: 7.10.0...7.11.0
Array offsets: Report a false offset, which PHP turns into 0 by @jirkace in #12690
false offset, which PHP turns into 0 by @jirkace in #12690--min-type-coverage to fail below a type coverage minimum by @alies-dev in #14075non-empty-scalar and similar types in namespaces by @orklah in #14079empty-scalar and non-empty-scalar no longer accept any scalar by @orklah in #14080do-while's first iteration, not Possibly* by @orklah in #14032foreach and references by @orklah in #14099mixed variable mixed after an if that wrote its offsets by @orklah in #14039mixed variable mixed after else, switch, match and || by @orklah in #14063PossiblyUndefinedVariable after isset($var[$k]) by @orklah in #14065InvalidArrayOffset on nested writes by @orklah in #14062null comparisons to never by @orklah in #14036instanceof checks to never by @orklah in #14048=== between overlapping types by @orklah in #14037class_exists() narrows only inside its if block by @jirkace in #13391$a?->m() ?? false narrows $a to non-null by @jirkace in #12995__METHOD__ and false LessSpecificReturnType by @danog in #14066#[\Override] on class constants and enum cases by @alies-dev in #14038__toString() calls by @shu-chen-dot-ca in #13782filter_var(null) returns '' by @orklah in #14124libxml_set_external_entity_loader() is not an unused call by @alies-dev in #14118pathinfo() may omit dirname by @orklah in #14122proc_open() and others by @orklah in #14100SplObjectStorage value checks and param names by @orklah in #14121stream_get_meta_data() keys may be undefined by @orklah in #14095key-of<T>/value-of<T> instead of reporting contradictions by @orklah in #14041key-of<T>/value-of<T> in operations by @orklah in #14064key-of<T>/value-of<T> after array_key_exists()/in_array() by @orklah in #14034string in an array|scalar argument to a string|array template by @orklah in #14098ComplexMethod on IfElseAnalyzer::analyze() by @orklah in #14088unset() of an offset in an isset() branch by @jirkace in #13123Full Changelog: 7.9.0...7.10.0
Analyse references to properties by @orklah in #13955
curl_multi_get_handles() returns array<array-key, mixed> instead of list<CurlHandle> by @alies-dev in #14022socket_addrinfo_lookup(), socket_cmsg_space() and ldap_free_result() by @alies-dev in #14023Full Changelog: 7.8.0...7.9.0
Analyse property hook bodies by @orklah in #13911
markAllNonInternalCodeAsApi for libraries, and make the code a project doesn't ship internal by @danog in #13939Full Changelog: 7.7.0...7.8.0
feat(reconciler): a non-empty string that is not "0" is non-falsy by @jirkace in #13132
help by @MrYamous in #13744object{} of an intersection makes method calls mixed by @alies-dev in #13876Full Changelog: 7.6.0...7.7.0
Make allowStringToStandInForClass consistent across class-string usages by @orklah in #13702
Codebase::addReportableFiles() to report issues in files Psalm doesn't analyze by @alies-dev in #13725@mixin lookup order: own, traits, parents; first declared wins by @alies-dev in #13694$project_files) by @alies-dev in #13719__call() by @alies-dev in #13727addReportableFiles() in the plugin entry point by @alies-dev in #13728Full Changelog: 7.5.0...7.6.0
fix(parser): read built-in constants without their deprecation by @shu-chen-dot-ca in #13601
--monochrome option by @alies-dev in #13669Full Changelog: 7.4.0...7.5.0
Report calls of @psalm-cli-only code from code that may not run from the command line by @danog in #13611
Full Changelog: 7.3.2...7.4.0
fix(callable): a first-class callable of a method keeps its inherited return type by @jirkace in #12800
Full Changelog: 7.3.1...7.3.2
Narrow arrays of the same keys that are identical to an array of overlapping item types by @jirkace in #12707
Note truncated.
⭐️ Let plugins declare the issues Psalter can fix by @alies-dev in #13515
$this/static param types by @alies-dev in #13494| in docblock types drops union members or invalidates @method by @alies-dev in #13457MissingOverrideAttribute check by @maximal in #11798Full Changelog: 7.2.1...7.3.0
fix(traits): a visibility a trait gives to the methods it uses from another trait reaches its class #6025 by @jirkace in #13276
Full Changelog: 7.2.0...7.2.1
Report HiddenGeneratorReturn for a value a generator returns through a type without Generator by @alies-dev & @azjezz in #13485
HiddenGeneratorReturn for a value a generator returns through a type without Generator by @alies-dev & @azjezz in #13485empty and falsy conditional conditions resolve to the else branch by @alies-dev in #12448static in the parameters of a static method called by class name to that class #5535 by @jirkace in #13261Note truncated.
One column per quarter.