Repository navigation
chore(deps): update dependency vimeo/psalm to v7.19.0 - #299
Merged
Merged
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate
Bot
force-pushed
the
renovate/psalm-vimeo-psalm-7.x
branch
from
November 25, 2026 11:11
af5c769 to
2caeb22
Compare
jkowalleck
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
7.12.0→7.19.0Release Notes
vimeo/psalm
v7.19.0Compare Source
What's Changed
Features
Fixes
curl_share_setopt,imap_timeout,imap_expungeby @ThomasLandauer in #11858AmbiguousConstantInheritancefor a constant reached through a parent class and an interface by @Aerendir in #12663matchwhose every branch is$thisas$thisby @orklah in #14818PossiblyNullReferenceafter a call with arguments in a nested nullsafe chain by @alies-dev in #14850tap($this, $callback)as returning$thisby @orklah in #14895Internal changes
New Contributors
Full Changelog: vimeo/psalm@7.18.0...7.19.0
v7.18.0: Contravariant templatesCompare Source
Features
@template-contravariant(also@psalm-and@phpstan-template-contravariant): a template for a class that only takes values, such as a handler, writer or mapper. ASink<Animal>fits where aSink<Dog>is expected, not the other way round, and Psalm reports the template where the class gives a value out.ClassLikeStorage::getTemplateVariance(). See Template contravariance; the templated annotations page was rewritten with checked examples. (#14669, @alies-dev)--debug-performance(short name--profile) prints where a run spent its time and memory: stages, workers, the slowest files, statements and functions, and plugin handlers. With a path it also writes a JSON profile that you can drop on https://psalm.dev/profile/ to see it as charts; the page reads it in your browser and sends it nowhere.skills/psalmteaches AI coding agents to run Psalm, fix its issues, write annotations and editpsalm.xmlthe way the docs recommend. Install it withnpx skills add vimeo/psalm --skill psalm, with thellm/skillsComposer plugin, or by copyingvendor/vimeo/psalm/skills/psalminto your agent's skills directory. (#13152, @roxblnfk; #14751, @danog; #14795, @roxblnfk)Performance
Fixes
Templates and type variables
new Pipe(fn (int $x) => ...)with aClosure(T): voidconstructor param capsTatint, so a later$pipe->push('s')isIncompatibleTypeParametersinstead of reaching theintcallback. (#14669, @alies-dev)@template U of T) is reported in a param even after an earlier param usedUlegally. (#14669, @alies-dev)new Coll([1]), then$c->add('x')) see every value it holds, not only the construction-site ones. (#14551, @shu-chen-dot-ca)nullno longer fits a template without a bound:fn() => nullforcallable(): T,[null]forlist<T>. (#14550, @shu-chen-dot-ca)@use. (#13429, @jirkace)@implements Wrapper<static>resolvesstaticto the object it is read from, and chained calls on such a value no longer hang. (#14572, @jirkace)@return static<NewK, NewV>on a template receiver keeps its new type arguments. (#14579, @jirkace)ImplementedReturnTypeMismatch. (#14502, @jirkace)preg_replace()on an array ofStringablereturns an array). (#14421, @jirkace)Tread at akey-of<T>offset isvalue-of<T>. (#14586, @jirkace)is_int(),is_scalar()and similar checks narrow a template bounded byscalar,numeric,array-keyor an int range instead of reportingDocblockTypeContradiction. (#14545, @jirkace)class-string<T>. (#14365, @jirkace)Coll<*>) gives the template's bound instead ofmixed. (#14666, @alies-dev)@template, the variance and the declared order of templates instead of marking every template@template-covariant. (#14669, @alies-dev)Narrowing and arrays
$a !== $bwith several possible values of$bdoesn't exclude them all from$a. (#14525, @jirkace)isset($array[$k])with$kone of several literal keys,$array[$k]is the value of those keys. (#14646, @jirkace)$arr[$key]stays known to be set when$keyis narrowed insideif (isset($arr[$key])). (#13344, @jirkace)InvalidArrayOffsetis reported when an item is read again under an index narrowed to a key the array can't have. (#14767, @orklah)($a ?? null) !== nullassertsisset($a). (#14517, @jirkace)instanceofa parent class narrows to the parent class. (#14318, @jirkace)get_class()of a union of classes is the name of any of them. (#14366, @jirkace)V&object{x: string}) has the type of both. (#14546, @jirkace)ensureArray*OffsetsExist, an offset that may be one of several literals is set only when each of them is. (#14606, @jirkace)maxShapedArraySize. (#14641, @jirkace)"a\r\nb"). (#14600, @jirkace)'6e5212ed-…'in Symfony'sFormconstraint. (#14797, @leonardsimonse)pow()of two int literals is an int literal. (#14505, @MikeFTV)Control flow
continueorbreakis possibly undefined after the loop. (#14509, @jirkace)breakthat reassigned it. (#14456, @jirkace)&&are defined in the next operands of the enclosing&&. (#14409, @jirkace)throworexitin a branch returnsvoid, notnever. (#14793, @MikeFTV)return, so it is noUnusedFunctionCall. (#14562, @jirkace)Callables and nullsafe calls
?->in a chain are analysed with a non-null receiver, as PHP skips the whole chain when it is null. (#14608, @jirkace)?->apply where the call is truthy. (#14531, @jirkace)__invoke()is callable. (#14590, @jirkace)__call()is not anUndefinedMagicMethod. (#14411, @jirkace)staticin closure hints of calls in a trait on other objects resolves to that object. (#14446, @jirkace)Closureobject of unknown signature is aClosure. (#14599, @jirkace)yield fromforwards the send type of the inner generator. (#14340, @jirkace)Reported issues
nullorfalsewith the expected type isInvalidArgument, notPossiblyInvalidArgument, in closure params ofarray_map()and similar functions and in__set()calls on a@property. (#14742, @orklah)ParadoxicalConditionon a dead||operand next to other values of the same variable. (#14821, @orklah)ParamNameMismatchfor a name another overridden method uses. (#14536, @jirkace)MethodSignatureMismatchfor@no-named-argumentson parameterless methods. (#14799, @orklah)sethook is checked against the hook's param type. (#14538, @jirkace)array_column()reads are used. (#14560, @jirkace)@implementsnaming an interface the class doesn't implement gets the same message with or without type arguments. (#14650, @jirkace)@psalm-suppressbefore the expression ofechoor<?=is read. (#14527, @jirkace)Stubs
ini_get()of a core setting no longer includesfalse. (#14809, @alies-dev)intval(),floatval()anddoubleval()report what the casts report. (#14311, #14805, @jirkace)ArrayObject::offsetSet()andArrayIterator::offsetSet()accept anulloffset. (#14516, @jirkace)pgsqlextension stub with thePGSQL_*constants, and the classes of thegeosextension. (#14637, #14631, @jirkace)FILTER_THROW_ON_FAILUREis defined and has no failure value. (#14359, @jirkace)Redis::auth()andRedisCluster::__construct()accept phpredis ACL credentials. (#14800, @orklah)WeakMap,SoapClient,MemcachedandPDOStatementuse the PHP 8 param names. (#14353, #14367, @jirkace)Name::$partsand uses v5'sArrayItemfor array and list items. (#14514, @jirkace)CLI, config and tools
reportInfo="false"also dropsPossibly*issues that takeinfofrom their parent issue. (#14785, @alies-dev)console,phpstormandgithub, run statistics (--stats, the timing line, the--profilesummary) go to stderr. (#14745, @alies-dev)--update-baselinekeeps multi-line samples of CRLF files. (#14794, @ARAYN7011)MissingDependencyand four other issues. (#14649, @jirkace)--generate-stubskeeps the trait uses and the interfaces of a class with a parent. (#14564, @jirkace)@psalm-scope-thisis scanned. (#14565, @jirkace)psalm-refactorrejects reserved words as destinations. (#14552, @MohannadElemary)Internal changes
PluginTestworks with psalm/plugin-phpunit 1.3.3. (#14810, @orklah)FunctionLikeAnalyzer::getFunctionLikeNode()(#14635) andConfig::getPreloadedStubFiles()(#14633), @jirkace. Psalm now requires psalm/psalm-plugin-api 0.5.2. (#14846, @alies-dev)New Contributors
Full Changelog: vimeo/psalm@7.17.0...7.18.0
v7.17.0Compare Source
What's Changed
Features
Fixes
Configuration
📅 Schedule: (UTC)
* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.