Skip to content

chore(deps): bump vimeo/psalm from 6.21.4 to v7 (master) - #1265

Merged
ChristophWurst merged 2 commits into
masterfrom
renovate/master-vimeo-psalm-7.x
Nov 27, 2026
Merged

ChristophWurst merged 2 commits into
masterfrom
renovate/master-vimeo-psalm-7.x

Conversation

@renovate

@renovate renovate Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
vimeo/psalm ^6.21.4 → ^7.22.1 age confidence

Release Notes

vimeo/psalm

v7.22.1

Compare Source

What's Changed

Fixes
Internal changes

Full Changelog: vimeo/psalm@7.22.0...7.22.1

v7.22.0: Call-site variance

Compare Source

New AI, UX and @template syntax features.

Features

  • Call-site variance: covariant or contravariant before a type argument makes one param accept a generic of any subtype (or supertype) of it, without changing the class's template. As with Box<*>, values then go one way only: from a Box<covariant Node> you read Node, but can't put anything in. (#​15096, @​alies-dev)
    /** @param Handler<covariant Node> $handler */
    function register(Handler $handler): void {}
    
    register(new LeafHandler()); // a Handler<LeafNode>: no issue (was InvalidArgument)
  • psalm --explain=<issue> prints an issue's documentation (what it means, an example, how to fix it) from the installed version, offline and without a config. It takes the issue type, its shortcode or its psalm.dev link. (#​15066, @​alies-dev, @​roxblnfk)
    vendor/bin/psalm --explain=PossiblyNullArgument
    vendor/bin/psalm --explain=078
    vendor/bin/psalm --explain=https://psalm.dev/078
  • AI coding agents: when Psalm runs under an agent (CLAUDECODE, CURSOR_AGENT, CODEX_THREAD_ID, AI_AGENT, …), it prints the compact format (one line per issue), no progress output even if CI is set, a one-line result (also 0 issues), and [*] after each issue --alter can fix. An explicit --output-format wins, and nothing changes outside an agent. See AI agents. (#​15068, #​15069, #​15067, @​alies-dev)
  • Crash reports name the plugin and hook that threw and the statement Psalm was analysing, save the full report to a file, and print a link that opens a prefilled issue on Psalm's or the plugin's tracker. (#​15070, @​alies-dev)
  • --no-taint-analysis skips taint analysis for one run (runTaintAnalysis is on by default), e.g. for a quick local check (#​15078, @​orklah).
  • New issues:
    • InternalFunction for a call of an @internal or @psalm-internal function from outside its namespace. (#​15084, @​orklah)
    • ParseError for constructor property promotion when analysing PHP 7.x. (#​15086, @​orklah)
  • --alter on PHP 8.2 writes true, false and null as native types (: true|null instead of : bool|null plus a docblock), and no longer adds docblocks that repeat a native type. (#​15083, @​orklah)

Performance

  • Narrowing a variable no longer copies the whole scope for every other variable, which made 7.18 about 2% slower than 7.17. (#​15121, @​alies-dev)

Fixes

Taint analysis
Stubs and plugins
  • A stub's @return (or its own @psalm-overload) replaces the original's @return $this and overloads, so a stubbed call returns the stub's type again (a 7.19.0 regression). (#​15090, @​alies-dev)
  • No false MethodSignatureMismatch for an override that widens a param of a stubbed userland class, and float/int swaps PHP rejects are reported. (#​15114, @​orklah)
  • [] on Ds\Map, Ds\Vector and other Ds collections is typed and checked, and a stub class that leaves out a method of its interfaces still has it. (#​15039, @​orklah)
  • A function params provider returning null keeps the function's params checked. (#​15040, @​orklah)
  • Params providers can resolve [$this, 'method']: CallAnalyzer::getFunctionIdsFromCallableArg() takes the call's Context. (#​15082, @​orklah)
  • A return type provider of a class wins over its @mixin for a method behind __call()/__callStatic(). (#​15020, @​shu-chen-dot-ca)
Arrays and narrowing
  • isset() and !isset() on array offsets: a negated check drops the shapes that always have the offset and keeps the optional offsets it leaves; an empty array stays empty; a nested isset($a["x"][3]) narrows $a["x"]. (#​15103, #​15104, #​15105, #​15076, @​orklah)
  • A switch case is analysed knowing the cases before it didn't match. (#​14528, @​jirkace)
  • Assigning an offset to a possibly-null array keeps the other offsets optional, and a nested write under a listed key of a shape with a mixed fallback keeps that key's type. (#​14815, #​14611, @​jirkace)
  • is_int(), is_bool() and is_string() keep the emptiness of empty-scalar and non-empty-scalar. (#​14431, @​jirkace)
  • is_callable() on a list can be true. (#​14319, @​jirkace)
  • No MixedAssignment/MixedArgument in a foreach over an always-empty list, such as list<T> of a new covariant generic. (#​15095, @​alies-dev)
Types and templates
  • The false branch of a conditional type bounds the template by the rest of its bound. (#​14647, @​jirkace)
  • value-of<T> of a backed enum template is an array key, and $case->value of a T is a value-of<T>. (#​14618, @​jirkace)
  • An intersection merges its object shapes (Card&object{last4: string}&object{brand: string}). (#​14457, @​jirkace)
  • An argument may fit any declaration of a method that several members of an intersection declare. (#​14977, @​shu-chen-dot-ca)
  • static in the params of a @method tag resolves to the called class. (#​14480, @​jirkace)
  • void|never is void, not null: AssignmentToVoid is reported, and an always-exiting function is no InvalidReturnType. (#​15087, @​orklah)
  • pow() with a zero and a float operand is a float. (#​14845, @​ARAYN7011)
  • PHP_INT_MIN is negative, PHP_DEBUG/PHP_ZTS are 0|1 (bool since PHP 8.4), and $_SERVER["DOCUMENT_ROOT"], ["SCRIPT_FILENAME"] and ["PATH_TRANSLATED"] can be empty. (#​15079, #​15092, @​orklah)
  • get_object_vars() doesn't include static properties. (#​15011, @​jirkace)
Functions, classes and properties
  • No false PropertyNotSetInConstructor for a redeclared promoted property or one assigned through $this->$name. (#​15038, @​orklah)
  • Overriding a property of a builtin class with its native type is no NonInvariantPropertyType. (#​14623, @​jirkace)
  • Calling a closure forgets the properties of $this it writes, and a by-reference capture gets what the closure leaves in it. (#​15048, #​15052, @​danog)
  • No false ReferenceConstraintViolation for a reference rebound before a break or in a switch case. (#​13710, @​jirkace)
  • The body is still analysed after MismatchingDocblockReturnType. (#​13213, @​jirkace)
  • An always-exiting function with a native return type is InvalidReturnType on PHP 8.1+. (#​15081, @​orklah)
  • global $x in a function has the type declared in <globals>. (#​15116, @​orklah)
Scanning and includes
  • require of a ternary between two paths is resolved, and the files a dependency requires through one are scanned (Carbon 3's CarbonPeriod). (#​15094, @​bardrop; #​15080, @​orklah)
  • With several scan threads, an autoloaded class is no longer replaced by a project file that redeclares it (IDE helpers). (#​15077, @​orklah)
  • ssh2_* functions belong to ext-ssh2, not ext-swoole. (#​15106, @​orklah)
CLI and config
  • A file that changes during a run stops it with src/C3.php changed while Psalm was running. Run Psalm again. instead of a crash, and a worker crash is printed once. (#​15061, @​alies-dev)
  • -c with a directory or an empty path reports Cannot read the config file instead of crashing. (#​14947, @​tlq5l)
  • config.xsd accepts allowMissingFiles on <projectFiles>, <extraFiles> and <errorLevel>. (#​15037, @​orklah)

Docs

Internal changes

New Contributors

Full Changelog: vimeo/psalm@7.21.1...7.22.0

v7.21.1

Compare Source

Fixes

Taint analysis
  • No crash ("Undefined array key -1") when an array whose values a foreach wrote back under their keys reaches a cast. (#​14965, @​orklah)
  • An unpacked element taints only the parameter it fills: in f(...[safe(), $_GET['x']]), $first is no longer tainted. (#​14979, @​shu-chen-dot-ca)
  • What array_walk() and array_walk_recursive() callbacks write to their by-reference param flows into the array. (#​14963, @​danog)
Templates and type variables
  • class-string<T>, key-of<T>, value-of<T>, T[K] and properties-of<T> resolve when new binds the template: (new ReflectionClass(new stdClass()))->getName() is class-string<stdClass>. An inherited self<T&C> assertion narrows a subclass again. (#​14981, @​orklah)
  • No infinite recursion when an object is added to its own template, and properties-of<T> over several classes includes the properties of each. (#​14982, @​orklah)
  • A class-string<T>|T param given a class string binds T to the class only, without a false IncompatibleTypeParameters. (#​14994, @​orklah)
  • No hang when a class with @template T of static calls a method returning T on $this or static::. (#​14978, @​shu-chen-dot-ca)
Narrowing, loops and arrays
  • $x != "" and $x != 0 remove null and the loosely equal bool from $x. (#​14995, @​orklah)
  • A variable that a nested foreach over a non-empty list assigns before every break is defined after it. (#​12439, @​jarstelfox)
  • A variable read where it is undefined is no longer possibly undefined on the loop's next iteration, and with extract() a variable assigned on one path is no longer read as possibly undefined. (#​12442, @​jarstelfox)
  • No false PossiblyUndefinedVariable on $r?->m() ?? [], or TypeDoesNotContainNull on $r?->p ?? [], when $r may be undefined. (#​14998, @​orklah)
  • A list written under keys it already has (its own foreach key, array_key_last()) keeps its shape. (#​15009, @​orklah)
  • $a + [...] combined with a shape: no false PossiblyUndefinedArrayOffset on keys both declare, and no InvalidArgument when it is passed to a sealed shape param. (#​15002, @​orklah)
  • Offsets of DOMNamedNodeMap, Dom\NamedNodeMap, Dom\NodeList and Dom\HTMLCollection are read by position or name instead of reporting InvalidArrayAccess. (#​14535, @​jirkace)
Properties and constructors
  • $object::$prop is checked as a static fetch on the object's class, so undeclared and instance-only properties report UndefinedPropertyFetch. (#​12046, @​HenkPoley)
  • No false MissingConstructor for a subclass inheriting the real constructor of a class a stub declares without one, and no PropertyNotSetInConstructor after Ancestor::__construct(). (#​15001, @​orklah)
  • @psalm-suppress UndefinedConstant applies to constants in docblock types (@var int-mask<NO_SUCH_CONSTANT>). (#​13540, @​alies-dev)
Purity
  • The DateTime and DateTimeImmutable constructors require only the time capability, and the DateInterval constructor is pure. (#​14962, @​jirkace)
Stubs
Language server and --alter
  • The language server keeps the types and references of a file without class methods when it analyses another file, so hover and go-to-definition keep working there. (#​15003, @​danog)
  • --alter writes only native types the analysed PHP version supports (no object below 7.2) and writes int|string for array-key from PHP 8.0. (#​14933, @​orklah)

Internal changes

New Contributors

Full Changelog: vimeo/psalm@7.21.0...7.21.1

v7.21.0

Compare Source

Features

  • Symfony HttpClient taints: the body, headers, info and streamed chunks of its responses are input sources, and the URL of HttpClientInterface::request() is an SSRF sink. (#​14950, @​danog)
  • strtolower() and strtoupper() of literal strings return literals: strtoupper(rand(0, 1) ? "get" : "Post") is 'GET'|'POST'. (#​14628, @​jirkace)

Performance

  • Taint resolution links Generator::send() calls only through nodes a generator flows into: 17 s to 10 s for that step on a ~5,600-file codebase. (#​13504, @​jarstelfox)
  • Taint resolution builds a flow's trace only for flows it reports: 28.9 s to 15.5 s on the same codebase. (#​13539, @​jarstelfox)

Fixes

Taint analysis
  • Unqualified builtin flags in a namespace (ENT_QUOTES, JSON_HEX_TAG) stay known when a library calls define() with a dynamic name, so the escaping they ask for is kept. (#​14949, @​danog)
Assertions and narrowing
  • @psalm-assert-if-true and @psalm-assert-if-false of a remembered call apply when the call is compared with true or false. (#​14605, @​jirkace)
  • A compound assignment in a condition (($s .= "a") === "1a") narrows the variable it assigns. (#​14532, @​jirkace)
  • Asserting a list on a non-empty array gives a non-empty list instead of a false TypeDoesNotContainType. (#​14609, @​jirkace)
  • isset() on a sealed array with a template offset bounded by the array's keys is no longer an InvalidArrayOffset. (#​14603, @​jirkace)
Types and templates
  • A callable-object no longer fits an object shape or a callable-object of another signature. (#​14929, @​MikeFTV)
  • A value given to a template that new left unbound is checked against constraints naming other templates of the class (IncompatibleTypeParameters). (#​12443, @​jarstelfox)

Internal changes

Full Changelog: vimeo/psalm@7.20.0...7.21.0

v7.20.0

Compare Source

Features

  • @psalm-overload: gives a function or method several signatures, and a call returns the result of the first one its arguments fit.
    /**
     * @psalm-overload (LimitedQuery $query): PagedResult
     * @psalm-overload (UnlimitedQuery $query): PlainResult
     */
    function search(Query $query): Result { /* ... */ }
    
    search(new LimitedQuery())->getPageCount();  // no issue
    search(new LimitedQuery())->getAllRecords(); // UndefinedMethod: PagedResult::getAllRecords
    See @psalm-overload. Constructors are not supported yet. (#​13353, #​13354, @​jirkace)
  • Database taints:
    • @psalm-database-query ... readonly marks a method that can only run reading queries, so its queries Psalm can't parse store nothing. See the annotation. (#​14860, @​danog)
    • Rows inserted as a list store their values in their own columns. (#​14853, @​danog)
    • ClickHouse: values bound to {name} and {name:Type} query parameters are stored, clauses after the tables of a SELECT are parsed, INSERT ... FORMAT stores its data in the listed columns, and ALTER TABLE ... UPDATE stores like UPDATE. (#​14854, #​14859, #​14857, @​danog)
    • The SQL of sprintf() with a literal format is parsed, and a query in a variable ($sql . " LIMIT 1") starts with what the analysis knows of $sql. (#​14858, #​14856, @​danog)
    • phpClickHouse stub: what its queries store and read. (#​14861, @​danog)
  • Taint analysis:
    • A realpath() result checked to start with a directory is not a path traversal, and a path that starts with a directory is not an SSRF target. (#​14171, @​danog)
    • A value put in an XPath string literal is reported only if it can hold a quote. (#​14174, @​danog)
  • Plugin API: Codebase::addTaintedCall() adds calls that PHP code doesn't make (a Twig template calling a filter) to the taint graph, and AddCallTaintsInterface and RemoveCallTaintsInterface handlers run for these calls, which have no Expr. (#​13658, @​danog)

Fixes

Taint analysis
  • Decoders (json_decode(), html_entity_decode()) give back the taints that the escapes before them removed. Escape flags with a variable operand, or flags a call may have changed, no longer count as escaping. (#​13642, @​danog)
Types
  • A non-falsy-string passed as a callable-string reports ArgumentTypeCoercion. (#​14925, @​orklah)
  • No false UnsafeGenericInstantiation for new static when static is only an array shape key in the return type. (#​14920, @​orklah)
  • A union keeps two conditional return types on the same template, different floats and different template class-strings apart instead of keeping only one. (#​14919, @​orklah)
  • @psalm-assert iterable&Countable keeps Countable, and intersections are compared by every part. (#​14944, @​orklah)
  • $int & <non-negative int> is bounded by the non-negative operand: $i & 0x0F is int<0, 15>. (#​14507, @​jirkace)
  • A literal array is checked against callable-array. (#​13424, @​jirkace)
  • T&Stringable casts to string when T is bounded by object or unbounded, and the cast charges __toString() in pure code. (#​14471, @​jirkace)
  • A class-string-map combined into another array has its template replaced by its bound, and class-string-map<T of Foo, T> keeps its bound in a namespace. (#​14934, @​orklah)
  • An invalid array key message shows the whole key type (list<int>, not array). (#​14923, @​orklah)
Templates
  • A trait method implementing a method of a templated interface is compared with the class's @implements argument, without a false MoreSpecificImplementedParamType. (#​14459, @​jirkace)
  • An argument with no part in a template's bound binds the parts of the bound it contains (non-empty-string, not array|non-empty-string). (#​14582, @​jirkace)
Narrowing, loops and arrays
  • Reassigning $x after $t = gettype($x) unlinks $t, so switch ($t) no longer narrows the new $x to never. (#​14937, @​orklah)
  • $x === $y with $y one of several class-strings keeps all of them. (#​14938, @​orklah)
  • !array_is_list() of a value that is always a list reports TypeDoesNotContainType. (#​14529, @​jirkace)
  • isset($array[$id]) with a string $id on an array with int keys is not an InvalidArrayOffset. (#​14652, @​jirkace)
  • A for or while loop whose counter starts beyond every value of an int bound (for ($i = 1; $i <= $size; $i++) with $size: int<1, max>) is always entered. (#​14543, @​jirkace)
  • A do/while condition on an offset of a mixed variable no longer holds after the loop. (#​14584, @​jirkace)
  • ?? accepts any left side (null ?? 1, a constant, an operation) without InvalidArgument, and drops its null. (#​14591, @​jirkace)
  • With rememberPropertyAssignmentsAfterCall="false", refinements of readonly properties survive calls. (#​14571, @​jirkace)
Classes, properties and constants
  • A class constant with a native type, read through static:: or an object of a non-final class, has that type instead of mixed. (#​14596, @​jirkace)
  • self in the type of a trait property resolves against the class using it, static in an inherited property type against the class read, and get_object_vars() resolves template-bound literals. (#​14512, @​jirkace)
  • A final class initialises properties through the trait methods it calls, without a false PropertyNotSetInConstructor. (#​14566, @​jirkace)
  • The methods of a class declared inside another statement (if (!class_exists(...)), a function body) in a namespaced file are analysed. (#​13654, @​danog)
  • Code that autoload also loads is no longer treated as unshipped because autoload-dev maps it too. (#​14936, @​danog)
--alter
  • properties-of<T> is written as a native array. (#​14930, @​lyn1dev)
  • Native types hold exactly the values of the type: a refined return type (non-empty-string) gets a docblock, and enums and anonymous class parents get the right namespace. (#​14917, @​orklah)
  • An intersection keeps its docblock when only some of its classes can be declared natively. (#​14918, @​orklah)
  • A string literal with a quote is escaped, and a union bound before [] or inside an intersection is parenthesised. (#​14921, #​14935, @​orklah)

Internal changes

  • Each type writes its own id. Atomic::getId() no longer falls back to getKey(), so a plugin type that extends Atomic must write its id or it throws a LogicException. (#​14922, @​orklah)

New Contributors

Full Changelog: vimeo/psalm@7.19.0...7.20.0

v7.19.0

Compare Source

Features

  • @phpstan-sealed is read like @psalm-inheritors. (#​11818, @​stof)
  • Psalm enables psalm/plugin-symfony when composer.json requires any Symfony package, not only symfony/framework-bundle. (#​14682, @​danog)
  • ensureOverrideAttribute also reports MissingOverrideAttribute for a property (PHP 8.5), class constant or enum case (PHP 8.6) that overrides a parent member. (#​14407, @​jirkace)
  • An UndefinedPropertyFetch or UndefinedPropertyAssignment on a property declared by @property in a class without __get()/__set() says to add the magic method or set usePhpDocPropertiesWithoutMagicCall="true". (#​14644, @​jirkace)
  • @psalm-trace works on static properties (self::$name). (#​14629, @​jirkace)

Fixes

Narrowing and conditions
  • Loose == keeps the values PHP juggles: "1" == 1, 1 == 1.0, false == [], $stringable == "a". (#​14906, @​orklah)
  • == 0 keeps the false and null loosely equal to it, so ($h = fopen(...)) == 0 is no longer a ParadoxicalCondition. (#​14823, @​orklah)
  • isset() on an offset of a possibly-null mixed narrows in an elseif as in an if. (#​14393, @​orklah)
  • A contradiction on a variable that an earlier clause also mentions is reported. (#​14828, @​orklah)
  • match (false) narrows the variables of its conditions. (#​14354, @​jirkace)
  • After an early return on $item?->flag !== true, $item is not null. (#​14460, @​jirkace)
  • Narrowing an object to a subclass with instanceof keeps what is known of its properties. (#​14537, @​jirkace)
  • !array_key_exists($key, $array) on a generic array says nothing about $key. (#​14613, @​jirkace)
  • A string or int can be identical to key-of<T> or value-of<T> of a template T of array. (#​14437, @​jirkace)
  • instanceof UnitEnum or BackedEnum excludes classes that aren't enums. (#​14526, @​jirkace)
  • ($a['k'] ?? false) && ... establishes that the key is set. (#​14377, @​jirkace)
  • isset() and ?? on a magic property are not decided by the type of __get() (SimpleXMLElement children). (#​14363, @​jirkace)
  • No false ParadoxicalCondition on a clause about a variable that a nested loop writes. (#​14899, @​orklah)
  • An if whose condition on an array offset always holds no longer makes the key optional. (#​14896, @​orklah)
  • With taint analysis on, an array narrowed by isset() in an if keeps the same type as without it. (#​14893, @​orklah)
  • Checking an extension and its functions, several functions of one extension, or functions of newer PHP versions is no longer a RedundantCondition or TypeDoesNotContainType. (#​14822, @​orklah)
  • empty() of a possibly undefined bool is not an InvalidArgument. (#​14819, @​orklah)
  • MixedArrayAccess is reported when a !empty($p['a']) check is stored in a variable first. (#​14824, @​orklah)
  • An exhaustive switch (true) over instanceof checks of final classes is not an InvalidReturnType. (#​13362, @​jirkace)
Loops
  • A while or for loop whose condition holds on entry is always entered. (#​14419, @​jirkace)
  • A variable assigned on the right of && in a for condition is defined in the body and the step. (#​14827, @​orklah)
  • The temporary variable of a switch on a call doesn't stay in scope after it. (#​14569, @​jirkace)
Arrays

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Europe/Vienna)

  • Branch creation
    • "before 5am on wednesday"
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot added 3. to review dependencies Pull requests that update a dependency file labels Nov 27, 2026
@renovate

renovate Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@ChristophWurst ChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the psalm 7 bump. Verified locally with psalm 7.22.1 (--threads=1, latest nextcloud/ocp:dev-master stubs): 0 issues, baseline still fully used, config attributes all valid. The added commit only drops the redundant --threads=$(nproc) from the psalm composer script, because psalm 7 rejects the repeated --threads flag that the psalm-matrix workflow passes (composer run psalm -- --threads=1 ...). With that fix, static-psalm-analysis dev-master is green in CI. PHP constraint is satisfied (psalm 7 allows ~8.3.16; the app pins platform php 8.3.16). Psalm is dev-only (vendor-bin), so runtime impact is nil.

Assisted by OpenCode:mistral-large-4 and github-copilot/claude-sonnet-5.5 (second review)

@ChristophWurst ChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the psalm 7 bump. Verified locally with psalm 7.22.1 (--threads=1, latest nextcloud/ocp:dev-master stubs): 0 issues, baseline still fully used, config attributes all valid. The added commit only drops the redundant --threads=$(nproc) from the psalm composer script, because psalm 7 rejects the repeated --threads flag that the psalm-matrix workflow passes (composer run psalm -- --threads=1 ...). With that fix, static-psalm-analysis dev-master is green in CI. PHP constraint is satisfied (psalm 7 allows ~8.3.16; the app pins platform php 8.3.16). Psalm is dev-only (vendor-bin), so runtime impact is nil.

Assisted by OpenCode:mistral-large-4 and github-copilot/claude-sonnet-5.5 (second review)

@ChristophWurst ChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the psalm 7 bump. Verified locally with psalm 7.22.1 (--threads=1, latest nextcloud/ocp:dev-master stubs): 0 issues, baseline still fully used, config attributes all valid. The added commit only drops the redundant --threads=$(nproc) from the psalm composer script, because psalm 7 rejects the repeated --threads flag that the psalm-matrix workflow passes (composer run psalm -- --threads=1 ...). With that fix, static-psalm-analysis dev-master is green in CI. PHP constraint is satisfied (psalm 7 allows ~8.3.16; the app pins platform php 8.3.16). Psalm is dev-only (vendor-bin), so runtime impact is nil.

Assisted by OpenCode:mistral-large-4 and github-copilot/claude-sonnet-5.5 (second review)

@ChristophWurst ChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the psalm 7 bump. Verified locally with psalm 7.22.1 (--threads=1, latest nextcloud/ocp:dev-master stubs): 0 issues, baseline still fully used, config attributes all valid. The added commit only drops the redundant --threads=$(nproc) from the psalm composer script, because psalm 7 rejects the repeated --threads flag that the psalm-matrix workflow passes (composer run psalm -- --threads=1 ...). With that fix, static-psalm-analysis dev-master is green in CI. PHP constraint is satisfied (psalm 7 allows ~8.3.16; the app pins platform php 8.3.16). Psalm is dev-only (vendor-bin), so runtime impact is nil.

Assisted by OpenCode:mistral-large-4 and github-copilot/claude-sonnet-5.5 (second review)

@ChristophWurst ChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the psalm 7 bump. Verified locally with psalm 7.22.1 (--threads=1, latest nextcloud/ocp:dev-master stubs): 0 issues, baseline still fully used, config attributes all valid. The added commit only drops the redundant --threads=$(nproc) from the psalm composer script, because psalm 7 rejects the repeated --threads flag that the psalm-matrix workflow passes (composer run psalm -- --threads=1 ...). With that fix, static-psalm-analysis dev-master is green in CI. PHP constraint is satisfied (psalm 7 allows ~8.3.16; the app pins platform php 8.3.16). Psalm is dev-only (vendor-bin), so runtime impact is nil.

Assisted by OpenCode:mistral-large-4 and github-copilot/claude-sonnet-5.5 (second review)

@ChristophWurst

Copy link
Copy Markdown
Member

Heads-up on why CI failed initially and what changed: psalm 7 rejects a repeated --threads flag, so composer run psalm -- --threads=1 ... (as the psalm-matrix workflow invokes it) died with --threads expects a positive integer or "auto". I dropped the redundant --threads=$(nproc) from the psalm composer script in a separate commit on top of the renovate commit (psalm defaults to auto threads). With that, static-psalm-analysis dev-master is green; verified locally as well (psalm 7.22.1, latest OCP dev-master stubs, 0 issues, baseline intact).

Note: the DCO check fails on the fix commit because it is not signed off — per the AI contribution policy only the human can add Signed-off-by, so @ChristophWurst please sign off (e.g. rebase with -s) before merging.

Assisted by OpenCode:mistral-large-4 and github-copilot/claude-sonnet-5.5 (second review)

@ChristophWurst
ChristophWurst force-pushed the renovate/master-vimeo-psalm-7.x branch from 51e6c07 to b1fe9cf Compare November 27, 2026 09:00
Psalm 7 rejects a repeated --threads flag, so
`composer run psalm -- --threads=1 ...` (as used by the psalm-matrix
workflow) failed with "--threads expects a positive integer or auto".
Psalm already defaults to auto thread detection, so the explicit flag
is redundant.

Assisted-by: OpenCode:mistral-large-4
Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
@ChristophWurst
ChristophWurst force-pushed the renovate/master-vimeo-psalm-7.x branch from b1fe9cf to 6a19e1d Compare November 27, 2026 10:29
@ChristophWurst
ChristophWurst merged commit 160dd6d into master Nov 27, 2026
41 checks passed
@ChristophWurst
ChristophWurst deleted the renovate/master-vimeo-psalm-7.x branch November 27, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant