Skip to content

Update dependency vimeo/psalm to v7 - #233

Open
renovate[bot] wants to merge 1 commit into
4.21.xfrom
renovate/vimeo-psalm-7.x
Open

renovate[bot] wants to merge 1 commit into
4.21.xfrom
renovate/vimeo-psalm-7.x

Conversation

@renovate

@renovate renovate Bot commented Nov 2, 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 Adoption Passing Confidence
vimeo/psalm ^6.17 → ^7.0 age adoption passing confidence

Release Notes

vimeo/psalm

v7.16.0: Star projection

Compare Source

Features

Performance

  • Scan workers send back only the stubs they added: −9 % wall, −14 % memory on a large Laravel app (8 threads, no cache). (#​12558, @​alies-dev)
  • Usage-inferred parameter types are recorded only for methods in the project directories: −8 to −15 % wall on apps that analyse their tests (one thread). (#​13901, @​alies-dev)
  • No exponential clause growth in || chains of str_starts_with(). Important for WordPress projects (#​14653, @​alies-dev)
  • Config loading skips directories a ** entry already matched: 60 to 85 % faster with **/vendor-style entries. (#​14624, @​alies-dev)
  • A class docblock is split into lines once for all its @method tags: scanning up to 5 % faster on classes with hundreds of them, such as AWS SDK clients and Laravel Facades. (#​14620, @​alies-dev)

Fixes

Templates
  • An inherited property or callable resolves the parent's template through what the child passes to it (@extends Base<list<U>>, @extends Base<Box<TModel>>, also across two @extends levels). (#​14487 @​jirkace, #​14558 @​alies-dev)
  • Callables of a non-generic child of a generic class bind the parent's template. (#​14578, @​alies-dev)
  • new on a @template-covariant class infers never for a template nothing can constrain, so new Coll() fits Coll<int>. (#​14449, @​jirkace)
Callables and invokable objects
  • An intersection whose later member has __invoke is callable. (#​14610, @​alies-dev)
  • array_map() with an invokable object as the callback infers the return type of __invoke instead of list<mixed>. (#​14654, @​alies-dev)
  • An invokable object, a function name or an array passed where a Closure is expected is an ArgumentTypeCoercion, not an InvalidArgument. (#​14657, @​alies-dev)
Other

Docs

  • Docs examples are self-contained and declare the config they need. (#​14585, @​danog)

Internal changes

Full Changelog: vimeo/psalm@7.15.0...7.16.0

v7.15.0

Compare Source

What's Changed

Features
  • Give Closure::getCurrent() the signature of the closure it is called in by @​danog in #​14467
  • Report native constants newer than the analysed PHP version by @​danog in #​14478
Fixes
  • Date native symbols from a generated dictionary instead of loading every callmap by @​danog in #​14464
  • Charge io for the pgsql, pcntl and posix functions that use the server, the process or the system by @​danog in #​14465
  • Keep the callmap return type of a builtin whose stub declares none by @​danog in #​14466
  • Let a lazy ghost initializer call the constructor of the object it is given by @​danog in #​14470
  • Read C::{$name} like C::NAME when $name holds literal names by @​danog in #​14468
  • Don't crash on a static call of a native method newer than the runtime by @​danog in #​14479
Internal changes

Full Changelog: vimeo/psalm@7.14.0...7.15.0

v7.14.0

Compare Source

What's Changed

Features
Fixes
Docs
Internal changes

New Contributors

Full Changelog: vimeo/psalm@7.13.2...7.14.0

v7.13.2

Compare Source

What's Changed

Fixes
  • Don't prefix PHP's Io namespace in the phar (crash on PHP 8.6 with threads) by @​danog in #​14414
  • Don't crash combining type variables that all stand for never until bound by @​danog in #​14379
  • Report only the ternary's own negated condition as redundant by @​danog in #​14417
  • Keep the template arguments of the object in callable($this) and callable(static) params by @​danog in #​14423

Full Changelog: vimeo/psalm@7.13.1...7.13.2

v7.13.1

Compare Source

What's Changed

Fixes
  • Fix template arguments of a parent named in another case, share @​extends/@​implements/@​use scanning by @​orklah in #​14397
  • fix(assertion): a redundant negated assertion on a template keeps the template by @​jirkace in #​14330
  • Share the template and result code of negated type assertions by @​orklah in #​14408
  • Count a write through an ArrayAccess offset as a use of the object by @​danog in #​14410

Full Changelog: vimeo/psalm@7.13.0...7.13.1

v7.13.0

Compare Source

What's Changed

Features
Fixes
Docs
Internal changes

Full Changelog: vimeo/psalm@7.12.0...7.13.0

v7.12.0

Compare Source

What's Changed

Features
  • Add @optional-arguments-by-name, @arguments-by-name and @stable-parameter-names by @​nicolas-grekas in #​12389
  • Make everything a PSR-7 message holds a taint source, and a method implementing or overriding a source one too by @​danog in #​14211
  • Define a variable assigned under a condition when the same condition is checked again by @​orklah in #​14222
  • feat(call): report a function called with a different casing than it is declared with by @​jirkace in #​13348
  • fix(types): remember the result of a pure function called with literals by @​jirkace in #​13422
  • Add a stub of the protobuf extension for Message, Timestamp and Duration by @​jirkace in #​12617
Fixes
Internal changes

Full Changelog: vimeo/psalm@7.11.0...7.12.0

v7.11.0

Compare Source

What's Changed

Features
  • Report the CWE weaknesses of issues, and use the issue type as the SARIF rule id by @​danog in #​14156
  • Remove the taints a value can't carry once it matches an anchored pattern, or a list of words through a string cast by @​danog in #​14161
  • Require the Doctrine plugin, and enable it when composer.json requires Doctrine by @​danog in #​14165
  • Report weak hashes and ciphers, seeded random number generators, insecure cookies and XXE by @​danog in #​14160
  • Make what symfony/yaml parses with PARSE_OBJECT an unserialize sink by @​danog in #​14172
Fixes
Internal changes

New Contributors

Full Changelog: vimeo/psalm@7.10.0...7.11.0

v7.10.0

Compare Source

What's Changed

Features

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


Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, 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

Read more information about the use of Renovate Bot within Laminas.

@renovate renovate Bot added the renovate label Nov 2, 2026
@renovate
renovate Bot force-pushed the renovate/vimeo-psalm-7.x branch from d5e4f84 to 73fca17 Compare November 9, 2026 21:23
@renovate
renovate Bot changed the base branch from 4.19.x to 4.20.x November 9, 2026 21:23
@renovate
renovate Bot force-pushed the renovate/vimeo-psalm-7.x branch 6 times, most recently from 3aebcef to 97d6a46 Compare November 16, 2026 21:05
@renovate
renovate Bot force-pushed the renovate/vimeo-psalm-7.x branch 4 times, most recently from 2242411 to dce9c13 Compare November 19, 2026 13:12
@renovate
renovate Bot changed the base branch from 4.20.x to 4.21.x November 19, 2026 13:12
@renovate
renovate Bot force-pushed the renovate/vimeo-psalm-7.x branch 4 times, most recently from 7fb1da6 to f6b3165 Compare November 22, 2026 15:06
@psalm-shepherd

Copy link
Copy Markdown

Psalm found errors in other files

src/Exception/BadMethodCallException.php:5:7 - Class Laminas\Code\Exception\BadMethodCallException is never used
src/Generator/AbstractMemberGenerator.php:201:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/AttributeGenerator.php:86:64 - The context is read-props but method ReflectionAttribute::getArguments requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionProperty::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionMethod::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionFunction::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:5:7 - Class Laminas\Code\Generator\BodyGenerator is never used
src/Generator/DocBlockGenerator.php:179:21 - Docblock-defined type Laminas\Code\Generator\DocBlock\Tag\TagInterface for $tag is always Laminas\Code\Generator\DocBlock\Tag\TagInterface
src/Generator/EnumGenerator/EnumGenerator.php:84:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromOptions requires impure
src/Generator/EnumGenerator/EnumGenerator.php:92:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromReflectionCases requires impure
src/Generator/FileGenerator.php:147:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/FileGenerator.php:314:21 - Docblock-defined type Laminas\Code\Generator\ClassGenerator for $class is always Laminas\Code\Generator\ClassGenerator
src/Generator/FileGenerator.php:380:19 - Docblock-defined type Laminas\Code\DeclareStatement for $declare is always Laminas\Code\DeclareStatement
src/Generator/MethodGenerator.php:253:15 - Docblock-defined type Laminas\Code\Generator\ParameterGenerator for $parameter is always Laminas\Code\Generator\ParameterGenerator
src/Generator/ValueGenerator.php:312:46 - Unable to determine the type that $constant is being assigned to
src/Generator/ValueGenerator.php:317:46 - Argument 2 of str_contains cannot be mixed, expecting string
src/Reflection/ClassReflection.php:54:5 - ReflectionClass::getStartLine is read-props, but Laminas\Code\Reflection\ClassReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:94:5 - ReflectionClass::getInterfaces is read-props, but Laminas\Code\Reflection\ClassReflection::getInterfaces additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:109:5 - ReflectionClass::getMethod is read-props, but Laminas\Code\Reflection\ClassReflection::getMethod additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:121:5 - ReflectionClass::getMethods is read-props, but Laminas\Code\Reflection\ClassReflection::getMethods additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:137:5 - ReflectionClass::getTraits is read-props, but Laminas\Code\Reflection\ClassReflection::getTraits additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:151:5 - ReflectionClass::getParentClass is read-props, but Laminas\Code\Reflection\ClassReflection::getParentClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:169:5 - ReflectionClass::getProperty is read-props, but Laminas\Code\Reflection\ClassReflection::getProperty additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:185:5 - ReflectionClass::getProperties is read-props, but Laminas\Code\Reflection\ClassReflection::getProperties additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:61:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\FunctionReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:187:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\FunctionReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:285:5 - ReflectionFunction::__toString is read-props, but Laminas\Code\Reflection\FunctionReflection::__toString additionally requires write-this-props|write-refs
src/Reflection/MethodReflection.php:60:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\MethodReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:77:5 - ReflectionMethod::getDeclaringClass is read-props, but Laminas\Code\Reflection\MethodReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:97:5 - ReflectionMethod::getPrototype is read-props, but Laminas\Code\Reflection\MethodReflection::getPrototype additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:176:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\MethodReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:52:36 - Argument 1 of Laminas\Code\Reflection\ClassReflection::__construct expects class-string|object|trait-string, but parent type 'parent'|'self'|'static'|class-string provided
src/Reflection/ParameterReflection.php:66:20 - The context is read-props but constructor ReflectionMethod::__construct requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\FunctionReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\MethodReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:109:25 - The context is read-props but method Laminas\Code\Reflection\DocBlockReflection::getTags requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:177:16 - The context is read-props but method Laminas\Code\Reflection\ClassReflection::getProperty requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:18:5 - ReflectionProperty::getDeclaringClass is read-props, but Laminas\Code\Reflection\PropertyReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:33:5 - ReflectionProperty::getDocComment is read-props, but Laminas\Code\Reflection\PropertyReflection::getDocComment additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:0:0 - Baseline for issue "PossiblyUnusedMethod" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "DocblockTypeContradiction" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/DocBlockGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "InvalidArrayOffset" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyUndefinedArrayOffset" has 1 extra entry.
src/Generator/InterfaceGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/MethodGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ParameterGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/PropertyGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayOffset" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayTypeCoercion" has 1 extra entry.
src/Generator/ValueGenerator.php:0:0 - Baseline for issue "MixedArgumentTypeCoercion" has 1 extra entry.
src/Reflection/ClassReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 8 extra entries.
src/Reflection/FunctionReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
src/Reflection/MethodReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 4 extra entries.
src/Reflection/ParameterReflection.php:0:0 - Baseline for issue "ImpureMethodCall" has 4 extra entries.
src/Reflection/PropertyReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
test/Generator/ClassGeneratorTest.php:0:0 - Baseline for issue "InvalidCast" has 2 extra entries.

@renovate
renovate Bot force-pushed the renovate/vimeo-psalm-7.x branch from f6b3165 to 211a81b Compare November 24, 2026 01:46
@psalm-shepherd

Copy link
Copy Markdown

Psalm found errors in other files

src/Exception/BadMethodCallException.php:5:7 - Class Laminas\Code\Exception\BadMethodCallException is never used
src/Generator/AbstractMemberGenerator.php:201:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/AttributeGenerator.php:86:64 - The context is read-props but method ReflectionAttribute::getArguments requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionProperty::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionMethod::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionFunction::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:5:7 - Class Laminas\Code\Generator\BodyGenerator is never used
src/Generator/DocBlockGenerator.php:179:21 - Docblock-defined type Laminas\Code\Generator\DocBlock\Tag\TagInterface for $tag is always Laminas\Code\Generator\DocBlock\Tag\TagInterface
src/Generator/EnumGenerator/EnumGenerator.php:84:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromOptions requires impure
src/Generator/EnumGenerator/EnumGenerator.php:92:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromReflectionCases requires impure
src/Generator/FileGenerator.php:147:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/FileGenerator.php:210:22 - The declared return type 'array<int, list{string, null|string, false|null|string}>' for Laminas\Code\Generator\FileGenerator::getUses is incorrect, got 'array<int<0, max>, list{0: non-empty-string, 1: null|string, 2?: null|string}>'
src/Generator/FileGenerator.php:229:16 - The inferred type 'array<int<0, max>, list{0: non-empty-string, 1: null|string, 2?: null|string}>' does not match the declared return type 'array<int, list{string, null|string, false|null|string}>' for Laminas\Code\Generator\FileGenerator::getUses
src/Generator/FileGenerator.php:314:21 - Docblock-defined type Laminas\Code\Generator\ClassGenerator for $class is always Laminas\Code\Generator\ClassGenerator
src/Generator/FileGenerator.php:380:19 - Docblock-defined type Laminas\Code\DeclareStatement for $declare is always Laminas\Code\DeclareStatement
src/Generator/FileGenerator.php:438:23 - token_get_all is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Generator/MethodGenerator.php:253:15 - Docblock-defined type Laminas\Code\Generator\ParameterGenerator for $parameter is always Laminas\Code\Generator\ParameterGenerator
src/Generator/ValueGenerator.php:312:46 - Unable to determine the type that $constant is being assigned to
src/Generator/ValueGenerator.php:317:46 - Argument 2 of str_contains cannot be mixed, expecting string
src/Reflection/ClassReflection.php:54:5 - ReflectionClass::getStartLine is read-props, but Laminas\Code\Reflection\ClassReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:94:5 - ReflectionClass::getInterfaces is read-props, but Laminas\Code\Reflection\ClassReflection::getInterfaces additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:109:5 - ReflectionClass::getMethod is read-props, but Laminas\Code\Reflection\ClassReflection::getMethod additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:121:5 - ReflectionClass::getMethods is read-props, but Laminas\Code\Reflection\ClassReflection::getMethods additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:137:5 - ReflectionClass::getTraits is read-props, but Laminas\Code\Reflection\ClassReflection::getTraits additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:151:5 - ReflectionClass::getParentClass is read-props, but Laminas\Code\Reflection\ClassReflection::getParentClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:169:5 - ReflectionClass::getProperty is read-props, but Laminas\Code\Reflection\ClassReflection::getProperty additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:185:5 - ReflectionClass::getProperties is read-props, but Laminas\Code\Reflection\ClassReflection::getProperties additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:61:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\FunctionReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:187:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\FunctionReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:285:5 - ReflectionFunction::__toString is read-props, but Laminas\Code\Reflection\FunctionReflection::__toString additionally requires write-this-props|write-refs
src/Reflection/MethodReflection.php:60:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\MethodReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:77:5 - ReflectionMethod::getDeclaringClass is read-props, but Laminas\Code\Reflection\MethodReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:97:5 - ReflectionMethod::getPrototype is read-props, but Laminas\Code\Reflection\MethodReflection::getPrototype additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:176:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\MethodReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:235:25 - token_get_all is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:249:46 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:352:53 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:385:52 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:449:53 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/ParameterReflection.php:52:36 - Argument 1 of Laminas\Code\Reflection\ClassReflection::__construct expects class-string|object|trait-string, but parent type 'parent'|'self'|'static'|class-string provided
src/Reflection/ParameterReflection.php:66:20 - The context is read-props but constructor ReflectionMethod::__construct requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\FunctionReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\MethodReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:109:25 - The context is read-props but method Laminas\Code\Reflection\DocBlockReflection::getTags requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:177:16 - The context is read-props but method Laminas\Code\Reflection\ClassReflection::getProperty requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:18:5 - ReflectionProperty::getDeclaringClass is read-props, but Laminas\Code\Reflection\PropertyReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:33:5 - ReflectionProperty::getDocComment is read-props, but Laminas\Code\Reflection\PropertyReflection::getDocComment additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:0:0 - Baseline for issue "PossiblyUnusedMethod" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "DocblockTypeContradiction" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/DocBlockGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "InvalidArrayOffset" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "LessSpecificReturnStatement" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "MoreSpecificReturnType" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyUndefinedArrayOffset" has 2 extra entries.
src/Generator/InterfaceGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/MethodGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ParameterGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/PropertyGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayOffset" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayTypeCoercion" has 1 extra entry.
src/Generator/TraitUsageInterface.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/ValueGenerator.php:0:0 - Baseline for issue "MixedArgumentTypeCoercion" has 1 extra entry.
src/Reflection/ClassReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 8 extra entries.
src/Reflection/FunctionReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
src/Reflection/MethodReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 4 extra entries.
src/Reflection/ParameterReflection.php:0:0 - Baseline for issue "ImpureMethodCall" has 4 extra entries.
src/Reflection/PropertyReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
test/Generator/ClassGeneratorTest.php:0:0 - Baseline for issue "InvalidCast" has 2 extra entries.

1 similar comment
@psalm-shepherd

Copy link
Copy Markdown

Psalm found errors in other files

src/Exception/BadMethodCallException.php:5:7 - Class Laminas\Code\Exception\BadMethodCallException is never used
src/Generator/AbstractMemberGenerator.php:201:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/AttributeGenerator.php:86:64 - The context is read-props but method ReflectionAttribute::getArguments requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionProperty::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionMethod::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionFunction::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:5:7 - Class Laminas\Code\Generator\BodyGenerator is never used
src/Generator/DocBlockGenerator.php:179:21 - Docblock-defined type Laminas\Code\Generator\DocBlock\Tag\TagInterface for $tag is always Laminas\Code\Generator\DocBlock\Tag\TagInterface
src/Generator/EnumGenerator/EnumGenerator.php:84:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromOptions requires impure
src/Generator/EnumGenerator/EnumGenerator.php:92:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromReflectionCases requires impure
src/Generator/FileGenerator.php:147:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/FileGenerator.php:210:22 - The declared return type 'array<int, list{string, null|string, false|null|string}>' for Laminas\Code\Generator\FileGenerator::getUses is incorrect, got 'array<int<0, max>, list{0: non-empty-string, 1: null|string, 2?: null|string}>'
src/Generator/FileGenerator.php:229:16 - The inferred type 'array<int<0, max>, list{0: non-empty-string, 1: null|string, 2?: null|string}>' does not match the declared return type 'array<int, list{string, null|string, false|null|string}>' for Laminas\Code\Generator\FileGenerator::getUses
src/Generator/FileGenerator.php:314:21 - Docblock-defined type Laminas\Code\Generator\ClassGenerator for $class is always Laminas\Code\Generator\ClassGenerator
src/Generator/FileGenerator.php:380:19 - Docblock-defined type Laminas\Code\DeclareStatement for $declare is always Laminas\Code\DeclareStatement
src/Generator/FileGenerator.php:438:23 - token_get_all is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Generator/MethodGenerator.php:253:15 - Docblock-defined type Laminas\Code\Generator\ParameterGenerator for $parameter is always Laminas\Code\Generator\ParameterGenerator
src/Generator/ValueGenerator.php:312:46 - Unable to determine the type that $constant is being assigned to
src/Generator/ValueGenerator.php:317:46 - Argument 2 of str_contains cannot be mixed, expecting string
src/Reflection/ClassReflection.php:54:5 - ReflectionClass::getStartLine is read-props, but Laminas\Code\Reflection\ClassReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:94:5 - ReflectionClass::getInterfaces is read-props, but Laminas\Code\Reflection\ClassReflection::getInterfaces additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:109:5 - ReflectionClass::getMethod is read-props, but Laminas\Code\Reflection\ClassReflection::getMethod additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:121:5 - ReflectionClass::getMethods is read-props, but Laminas\Code\Reflection\ClassReflection::getMethods additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:137:5 - ReflectionClass::getTraits is read-props, but Laminas\Code\Reflection\ClassReflection::getTraits additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:151:5 - ReflectionClass::getParentClass is read-props, but Laminas\Code\Reflection\ClassReflection::getParentClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:169:5 - ReflectionClass::getProperty is read-props, but Laminas\Code\Reflection\ClassReflection::getProperty additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:185:5 - ReflectionClass::getProperties is read-props, but Laminas\Code\Reflection\ClassReflection::getProperties additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:61:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\FunctionReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:187:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\FunctionReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:285:5 - ReflectionFunction::__toString is read-props, but Laminas\Code\Reflection\FunctionReflection::__toString additionally requires write-this-props|write-refs
src/Reflection/MethodReflection.php:60:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\MethodReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:77:5 - ReflectionMethod::getDeclaringClass is read-props, but Laminas\Code\Reflection\MethodReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:97:5 - ReflectionMethod::getPrototype is read-props, but Laminas\Code\Reflection\MethodReflection::getPrototype additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:176:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\MethodReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:235:25 - token_get_all is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:249:46 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:352:53 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:385:52 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:449:53 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/ParameterReflection.php:52:36 - Argument 1 of Laminas\Code\Reflection\ClassReflection::__construct expects class-string|object|trait-string, but parent type 'parent'|'self'|'static'|class-string provided
src/Reflection/ParameterReflection.php:66:20 - The context is read-props but constructor ReflectionMethod::__construct requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\FunctionReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\MethodReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:109:25 - The context is read-props but method Laminas\Code\Reflection\DocBlockReflection::getTags requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:177:16 - The context is read-props but method Laminas\Code\Reflection\ClassReflection::getProperty requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:18:5 - ReflectionProperty::getDeclaringClass is read-props, but Laminas\Code\Reflection\PropertyReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:33:5 - ReflectionProperty::getDocComment is read-props, but Laminas\Code\Reflection\PropertyReflection::getDocComment additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:0:0 - Baseline for issue "PossiblyUnusedMethod" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "DocblockTypeContradiction" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/DocBlockGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "InvalidArrayOffset" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "LessSpecificReturnStatement" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "MoreSpecificReturnType" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyUndefinedArrayOffset" has 2 extra entries.
src/Generator/InterfaceGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/MethodGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ParameterGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/PropertyGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayOffset" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayTypeCoercion" has 1 extra entry.
src/Generator/TraitUsageInterface.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/ValueGenerator.php:0:0 - Baseline for issue "MixedArgumentTypeCoercion" has 1 extra entry.
src/Reflection/ClassReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 8 extra entries.
src/Reflection/FunctionReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
src/Reflection/MethodReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 4 extra entries.
src/Reflection/ParameterReflection.php:0:0 - Baseline for issue "ImpureMethodCall" has 4 extra entries.
src/Reflection/PropertyReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
test/Generator/ClassGeneratorTest.php:0:0 - Baseline for issue "InvalidCast" has 2 extra entries.

@renovate
renovate Bot force-pushed the renovate/vimeo-psalm-7.x branch from 211a81b to 0fe5b03 Compare November 24, 2026 23:46
@psalm-shepherd

Copy link
Copy Markdown

Psalm found errors in other files

src/Exception/BadMethodCallException.php:5:7 - Class Laminas\Code\Exception\BadMethodCallException is never used
src/Generator/AbstractMemberGenerator.php:201:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/AttributeGenerator.php:86:64 - The context is read-props but method ReflectionAttribute::getArguments requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionProperty::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionMethod::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionFunction::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:5:7 - Class Laminas\Code\Generator\BodyGenerator is never used
src/Generator/DocBlockGenerator.php:179:21 - Docblock-defined type Laminas\Code\Generator\DocBlock\Tag\TagInterface for $tag is always Laminas\Code\Generator\DocBlock\Tag\TagInterface
src/Generator/EnumGenerator/EnumGenerator.php:84:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromOptions requires impure
src/Generator/EnumGenerator/EnumGenerator.php:92:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromReflectionCases requires impure
src/Generator/FileGenerator.php:147:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/FileGenerator.php:210:22 - The declared return type 'array<int, list{string, null|string, false|null|string}>' for Laminas\Code\Generator\FileGenerator::getUses is incorrect, got 'array<int<0, max>, list{0: non-empty-string, 1: null|string, 2?: null|string}>'
src/Generator/FileGenerator.php:229:16 - The inferred type 'array<int<0, max>, list{0: non-empty-string, 1: null|string, 2?: null|string}>' does not match the declared return type 'array<int, list{string, null|string, false|null|string}>' for Laminas\Code\Generator\FileGenerator::getUses
src/Generator/FileGenerator.php:314:21 - Docblock-defined type Laminas\Code\Generator\ClassGenerator for $class is always Laminas\Code\Generator\ClassGenerator
src/Generator/FileGenerator.php:380:19 - Docblock-defined type Laminas\Code\DeclareStatement for $declare is always Laminas\Code\DeclareStatement
src/Generator/FileGenerator.php:438:23 - token_get_all is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Generator/MethodGenerator.php:253:15 - Docblock-defined type Laminas\Code\Generator\ParameterGenerator for $parameter is always Laminas\Code\Generator\ParameterGenerator
src/Generator/ValueGenerator.php:312:46 - Unable to determine the type that $constant is being assigned to
src/Generator/ValueGenerator.php:317:46 - Argument 2 of str_contains cannot be mixed, expecting string
src/Reflection/ClassReflection.php:54:5 - ReflectionClass::getStartLine is read-props, but Laminas\Code\Reflection\ClassReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:94:5 - ReflectionClass::getInterfaces is read-props, but Laminas\Code\Reflection\ClassReflection::getInterfaces additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:109:5 - ReflectionClass::getMethod is read-props, but Laminas\Code\Reflection\ClassReflection::getMethod additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:121:5 - ReflectionClass::getMethods is read-props, but Laminas\Code\Reflection\ClassReflection::getMethods additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:137:5 - ReflectionClass::getTraits is read-props, but Laminas\Code\Reflection\ClassReflection::getTraits additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:151:5 - ReflectionClass::getParentClass is read-props, but Laminas\Code\Reflection\ClassReflection::getParentClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:169:5 - ReflectionClass::getProperty is read-props, but Laminas\Code\Reflection\ClassReflection::getProperty additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:185:5 - ReflectionClass::getProperties is read-props, but Laminas\Code\Reflection\ClassReflection::getProperties additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:61:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\FunctionReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:187:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\FunctionReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:285:5 - ReflectionFunction::__toString is read-props, but Laminas\Code\Reflection\FunctionReflection::__toString additionally requires write-this-props|write-refs
src/Reflection/MethodReflection.php:60:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\MethodReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:77:5 - ReflectionMethod::getDeclaringClass is read-props, but Laminas\Code\Reflection\MethodReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:97:5 - ReflectionMethod::getPrototype is read-props, but Laminas\Code\Reflection\MethodReflection::getPrototype additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:176:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\MethodReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:235:25 - token_get_all is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:249:46 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:352:53 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:385:52 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:449:53 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/ParameterReflection.php:52:36 - Argument 1 of Laminas\Code\Reflection\ClassReflection::__construct expects class-string|object|trait-string, but parent type 'parent'|'self'|'static'|class-string provided
src/Reflection/ParameterReflection.php:66:20 - The context is read-props but constructor ReflectionMethod::__construct requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\FunctionReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\MethodReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:109:25 - The context is read-props but method Laminas\Code\Reflection\DocBlockReflection::getTags requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:177:16 - The context is read-props but method Laminas\Code\Reflection\ClassReflection::getProperty requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:18:5 - ReflectionProperty::getDeclaringClass is read-props, but Laminas\Code\Reflection\PropertyReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:33:5 - ReflectionProperty::getDocComment is read-props, but Laminas\Code\Reflection\PropertyReflection::getDocComment additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:0:0 - Baseline for issue "PossiblyUnusedMethod" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "DocblockTypeContradiction" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/DocBlockGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "InvalidArrayOffset" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "LessSpecificReturnStatement" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "MoreSpecificReturnType" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyUndefinedArrayOffset" has 2 extra entries.
src/Generator/InterfaceGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/MethodGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ParameterGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/PropertyGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayOffset" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayTypeCoercion" has 1 extra entry.
src/Generator/TraitUsageInterface.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/ValueGenerator.php:0:0 - Baseline for issue "MixedArgumentTypeCoercion" has 1 extra entry.
src/Reflection/ClassReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 8 extra entries.
src/Reflection/FunctionReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
src/Reflection/MethodReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 4 extra entries.
src/Reflection/ParameterReflection.php:0:0 - Baseline for issue "ImpureMethodCall" has 4 extra entries.
src/Reflection/PropertyReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
test/Generator/ClassGeneratorTest.php:0:0 - Baseline for issue "InvalidCast" has 2 extra entries.

@renovate
renovate Bot force-pushed the renovate/vimeo-psalm-7.x branch from 0fe5b03 to 8da6a91 Compare November 25, 2026 04:11
@psalm-shepherd

Copy link
Copy Markdown

Psalm found errors in other files

src/Exception/BadMethodCallException.php:5:7 - Class Laminas\Code\Exception\BadMethodCallException is never used
src/Generator/AbstractMemberGenerator.php:201:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/AttributeGenerator.php:86:64 - The context is read-props but method ReflectionAttribute::getArguments requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionProperty::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionMethod::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionFunction::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:5:7 - Class Laminas\Code\Generator\BodyGenerator is never used
src/Generator/DocBlockGenerator.php:179:21 - Docblock-defined type Laminas\Code\Generator\DocBlock\Tag\TagInterface for $tag is always Laminas\Code\Generator\DocBlock\Tag\TagInterface
src/Generator/EnumGenerator/EnumGenerator.php:84:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromOptions requires impure
src/Generator/EnumGenerator/EnumGenerator.php:92:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromReflectionCases requires impure
src/Generator/FileGenerator.php:147:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/FileGenerator.php:210:22 - The declared return type 'array<int, list{string, null|string, false|null|string}>' for Laminas\Code\Generator\FileGenerator::getUses is incorrect, got 'array<int<0, max>, list{0: non-empty-string, 1: null|string, 2?: null|string}>'
src/Generator/FileGenerator.php:229:16 - The inferred type 'array<int<0, max>, list{0: non-empty-string, 1: null|string, 2?: null|string}>' does not match the declared return type 'array<int, list{string, null|string, false|null|string}>' for Laminas\Code\Generator\FileGenerator::getUses
src/Generator/FileGenerator.php:314:21 - Docblock-defined type Laminas\Code\Generator\ClassGenerator for $class is always Laminas\Code\Generator\ClassGenerator
src/Generator/FileGenerator.php:380:19 - Docblock-defined type Laminas\Code\DeclareStatement for $declare is always Laminas\Code\DeclareStatement
src/Generator/FileGenerator.php:438:23 - token_get_all is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Generator/MethodGenerator.php:253:15 - Docblock-defined type Laminas\Code\Generator\ParameterGenerator for $parameter is always Laminas\Code\Generator\ParameterGenerator
src/Generator/ValueGenerator.php:312:46 - Unable to determine the type that $constant is being assigned to
src/Generator/ValueGenerator.php:317:46 - Argument 2 of str_contains cannot be mixed, expecting string
src/Reflection/ClassReflection.php:54:5 - ReflectionClass::getStartLine is read-props, but Laminas\Code\Reflection\ClassReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:94:5 - ReflectionClass::getInterfaces is read-props, but Laminas\Code\Reflection\ClassReflection::getInterfaces additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:109:5 - ReflectionClass::getMethod is read-props, but Laminas\Code\Reflection\ClassReflection::getMethod additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:121:5 - ReflectionClass::getMethods is read-props, but Laminas\Code\Reflection\ClassReflection::getMethods additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:137:5 - ReflectionClass::getTraits is read-props, but Laminas\Code\Reflection\ClassReflection::getTraits additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:151:5 - ReflectionClass::getParentClass is read-props, but Laminas\Code\Reflection\ClassReflection::getParentClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:169:5 - ReflectionClass::getProperty is read-props, but Laminas\Code\Reflection\ClassReflection::getProperty additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:185:5 - ReflectionClass::getProperties is read-props, but Laminas\Code\Reflection\ClassReflection::getProperties additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:61:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\FunctionReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:187:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\FunctionReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:285:5 - ReflectionFunction::__toString is read-props, but Laminas\Code\Reflection\FunctionReflection::__toString additionally requires write-this-props|write-refs
src/Reflection/MethodReflection.php:60:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\MethodReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:77:5 - ReflectionMethod::getDeclaringClass is read-props, but Laminas\Code\Reflection\MethodReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:97:5 - ReflectionMethod::getPrototype is read-props, but Laminas\Code\Reflection\MethodReflection::getPrototype additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:176:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\MethodReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:235:25 - token_get_all is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:249:46 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:352:53 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:385:52 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:449:53 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/ParameterReflection.php:52:36 - Argument 1 of Laminas\Code\Reflection\ClassReflection::__construct expects class-string|object|trait-string, but parent type 'parent'|'self'|'static'|class-string provided
src/Reflection/ParameterReflection.php:66:20 - The context is read-props but constructor ReflectionMethod::__construct requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\FunctionReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\MethodReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:109:25 - The context is read-props but method Laminas\Code\Reflection\DocBlockReflection::getTags requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:177:16 - The context is read-props but method Laminas\Code\Reflection\ClassReflection::getProperty requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:18:5 - ReflectionProperty::getDeclaringClass is read-props, but Laminas\Code\Reflection\PropertyReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:33:5 - ReflectionProperty::getDocComment is read-props, but Laminas\Code\Reflection\PropertyReflection::getDocComment additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:0:0 - Baseline for issue "PossiblyUnusedMethod" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "DocblockTypeContradiction" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/DocBlockGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "InvalidArrayOffset" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "LessSpecificReturnStatement" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "MoreSpecificReturnType" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyUndefinedArrayOffset" has 2 extra entries.
src/Generator/InterfaceGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/MethodGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ParameterGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/PropertyGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayOffset" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayTypeCoercion" has 1 extra entry.
src/Generator/TraitUsageInterface.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/ValueGenerator.php:0:0 - Baseline for issue "MixedArgumentTypeCoercion" has 1 extra entry.
src/Reflection/ClassReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 8 extra entries.
src/Reflection/FunctionReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
src/Reflection/MethodReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 4 extra entries.
src/Reflection/ParameterReflection.php:0:0 - Baseline for issue "ImpureMethodCall" has 4 extra entries.
src/Reflection/PropertyReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
src/Scanner/DocBlockScanner.php:0:0 - Baseline for issue "InvalidArrayOffset" has 1 extra entry.
test/Generator/ClassGeneratorTest.php:0:0 - Baseline for issue "InvalidCast" has 2 extra entries.

@renovate
renovate Bot force-pushed the renovate/vimeo-psalm-7.x branch from 8da6a91 to ad2108d Compare November 25, 2026 23:02
@psalm-shepherd

Copy link
Copy Markdown

Psalm found errors in other files

src/Exception/BadMethodCallException.php:5:7 - Class Laminas\Code\Exception\BadMethodCallException is never used
src/Generator/AbstractMemberGenerator.php:201:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/AttributeGenerator.php:86:64 - The context is read-props but method ReflectionAttribute::getArguments requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionProperty::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionMethod::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/AttributeGenerator.php:99:18 - The context is read-props but method ReflectionFunction::getAttributes requires write-props|read-globals|write-globals|write-refs|io|time
src/Generator/BodyGenerator.php:5:7 - Class Laminas\Code\Generator\BodyGenerator is never used
src/Generator/DocBlockGenerator.php:179:21 - Docblock-defined type Laminas\Code\Generator\DocBlock\Tag\TagInterface for $tag is always Laminas\Code\Generator\DocBlock\Tag\TagInterface
src/Generator/EnumGenerator/EnumGenerator.php:84:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromOptions requires impure
src/Generator/EnumGenerator/EnumGenerator.php:92:13 - The context is read-props but method Laminas\Code\Generator\EnumGenerator\Cases\CaseFactory::fromReflectionCases requires impure
src/Generator/FileGenerator.php:147:21 - Docblock-defined type Laminas\Code\Generator\DocBlockGenerator for $docBlock is always Laminas\Code\Generator\DocBlockGenerator
src/Generator/FileGenerator.php:210:22 - The declared return type 'array<int, list{string, null|string, false|null|string}>' for Laminas\Code\Generator\FileGenerator::getUses is incorrect, got 'array<int<0, max>, list{0: non-empty-string, 1: null|string, 2?: null|string}>'
src/Generator/FileGenerator.php:229:16 - The inferred type 'array<int<0, max>, list{0: non-empty-string, 1: null|string, 2?: null|string}>' does not match the declared return type 'array<int, list{string, null|string, false|null|string}>' for Laminas\Code\Generator\FileGenerator::getUses
src/Generator/FileGenerator.php:314:21 - Docblock-defined type Laminas\Code\Generator\ClassGenerator for $class is always Laminas\Code\Generator\ClassGenerator
src/Generator/FileGenerator.php:380:19 - Docblock-defined type Laminas\Code\DeclareStatement for $declare is always Laminas\Code\DeclareStatement
src/Generator/FileGenerator.php:438:23 - token_get_all is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Generator/MethodGenerator.php:253:15 - Docblock-defined type Laminas\Code\Generator\ParameterGenerator for $parameter is always Laminas\Code\Generator\ParameterGenerator
src/Generator/ValueGenerator.php:312:46 - Unable to determine the type that $constant is being assigned to
src/Generator/ValueGenerator.php:317:46 - Argument 2 of str_contains cannot be mixed, expecting string
src/Reflection/ClassReflection.php:54:5 - ReflectionClass::getStartLine is read-props, but Laminas\Code\Reflection\ClassReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:94:5 - ReflectionClass::getInterfaces is read-props, but Laminas\Code\Reflection\ClassReflection::getInterfaces additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:109:5 - ReflectionClass::getMethod is read-props, but Laminas\Code\Reflection\ClassReflection::getMethod additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:121:5 - ReflectionClass::getMethods is read-props, but Laminas\Code\Reflection\ClassReflection::getMethods additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:137:5 - ReflectionClass::getTraits is read-props, but Laminas\Code\Reflection\ClassReflection::getTraits additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:151:5 - ReflectionClass::getParentClass is read-props, but Laminas\Code\Reflection\ClassReflection::getParentClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:169:5 - ReflectionClass::getProperty is read-props, but Laminas\Code\Reflection\ClassReflection::getProperty additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ClassReflection.php:185:5 - ReflectionClass::getProperties is read-props, but Laminas\Code\Reflection\ClassReflection::getProperties additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:61:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\FunctionReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:187:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\FunctionReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/FunctionReflection.php:285:5 - ReflectionFunction::__toString is read-props, but Laminas\Code\Reflection\FunctionReflection::__toString additionally requires write-this-props|write-refs
src/Reflection/MethodReflection.php:60:5 - ReflectionFunctionAbstract::getStartLine is read-props, but Laminas\Code\Reflection\MethodReflection::getStartLine additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:77:5 - ReflectionMethod::getDeclaringClass is read-props, but Laminas\Code\Reflection\MethodReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:97:5 - ReflectionMethod::getPrototype is read-props, but Laminas\Code\Reflection\MethodReflection::getPrototype additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:176:5 - ReflectionFunctionAbstract::getParameters is read-props, but Laminas\Code\Reflection\MethodReflection::getParameters additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/MethodReflection.php:235:25 - token_get_all is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:249:46 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:352:53 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:385:52 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/MethodReflection.php:449:53 - token_name is part of the ext-tokenizer extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Reflection/ParameterReflection.php:52:36 - Argument 1 of Laminas\Code\Reflection\ClassReflection::__construct expects class-string|object|trait-string, but parent type 'parent'|'self'|'static'|class-string provided
src/Reflection/ParameterReflection.php:66:20 - The context is read-props but constructor ReflectionMethod::__construct requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\FunctionReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:102:21 - The context is read-props but method Laminas\Code\Reflection\MethodReflection::getDocBlock requires write-props|read-globals|write-globals|io|time
src/Reflection/ParameterReflection.php:109:25 - The context is read-props but method Laminas\Code\Reflection\DocBlockReflection::getTags requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/ParameterReflection.php:177:16 - The context is read-props but method Laminas\Code\Reflection\ClassReflection::getProperty requires write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:18:5 - ReflectionProperty::getDeclaringClass is read-props, but Laminas\Code\Reflection\PropertyReflection::getDeclaringClass additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
src/Reflection/PropertyReflection.php:33:5 - ReflectionProperty::getDocComment is read-props, but Laminas\Code\Reflection\PropertyReflection::getDocComment additionally requires write-this-props|write-props|read-globals|write-globals|write-refs|io|time
test/Reflection/FunctionReflectionTest.php:284:54 - Argument 1 of Laminas\Code\Reflection\FunctionReflection::__construct expects Closure[impure]|callable-string, but parent type non-falsy-string provided
src/Generator/BodyGenerator.php:0:0 - Baseline for issue "PossiblyUnusedMethod" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "DocblockTypeContradiction" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ClassGenerator.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/DocBlockGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "InvalidArrayOffset" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "LessSpecificReturnStatement" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "MoreSpecificReturnType" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/FileGenerator.php:0:0 - Baseline for issue "PossiblyUndefinedArrayOffset" has 2 extra entries.
src/Generator/InterfaceGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/MethodGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/ParameterGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/PropertyGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitGenerator.php:0:0 - Baseline for issue "PossiblyInvalidArgument" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayOffset" has 1 extra entry.
src/Generator/TraitUsageGenerator.php:0:0 - Baseline for issue "MixedArrayTypeCoercion" has 1 extra entry.
src/Generator/TraitUsageInterface.php:0:0 - Baseline for issue "PossiblyUnusedReturnValue" has 2 extra entries.
src/Generator/ValueGenerator.php:0:0 - Baseline for issue "MixedArgumentTypeCoercion" has 1 extra entry.
src/Reflection/ClassReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 8 extra entries.
src/Reflection/FunctionReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
src/Reflection/MethodReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 4 extra entries.
src/Reflection/ParameterReflection.php:0:0 - Baseline for issue "ImpureMethodCall" has 4 extra entries.
src/Reflection/PropertyReflection.php:0:0 - Baseline for issue "MissingImmutableAnnotation" has 2 extra entries.
src/Scanner/DocBlockScanner.php:0:0 - Baseline for issue "InvalidArrayOffset" has 1 extra entry.
test/Generator/ClassGeneratorTest.php:0:0 - Baseline for issue "InvalidCast" has 2 extra entries.

| datasource | package     | from    | to     |
| ---------- | ----------- | ------- | ------ |
| packagist  | vimeo/psalm | 6.20.10 | 7.21.1 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate
renovate Bot force-pushed the renovate/vimeo-psalm-7.x branch from ad2108d to ab9f418 Compare November 26, 2026 08:09
@renovate

renovate Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Loading composer repositories with package information
Dependency psalm/plugin-phpunit is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires vimeo/psalm ^7.0 -> satisfiable by vimeo/psalm[7.28.0].
    - vimeo/psalm 7.28.0 requires psalm/plugin-phpunit ^1.3.6 -> found psalm/plugin-phpunit[1.3.6, 1.3.7, 1.3.8] but it conflicts with your root composer.json require (^0.22.0).
  Problem 2
    - psalm/plugin-phpunit is locked to version 0.22.2 and an update of this package was not requested.
    - psalm/plugin-phpunit 0.22.2 requires vimeo/psalm ^6 || ^7.2 || dev-master -> satisfiable by vimeo/psalm[7.28.0].
    - vimeo/psalm 7.28.0 requires psalm/plugin-phpunit ^1.3.6 -> found psalm/plugin-phpunit[1.3.6, 1.3.7, 1.3.8] but it conflicts with your root composer.json require (^0.22.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant