Skip to content

chore(deps-dev): Bump vimeo/psalm from 6.16.1 to 7.19.0 in /vendor-bin/psalm - #1724

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/vendor-bin/psalm/vimeo/psalm-7.19.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/vendor-bin/psalm/vimeo/psalm-7.19.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 28, 2026

Copy link
Copy Markdown
Contributor

Bumps vimeo/psalm from 6.16.1 to 7.19.0.

Release notes

Sourced from vimeo/psalm's releases.

7.19.0

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

  • A write under an unknown key or an append keeps the array shape. (#14642, @​jirkace)
  • A write under a non-literal key keeps the types of the offsets the key can't be. (#14825, @​orklah)
  • $array + ['key' => $default] has the keys of the shape, and so does a shape plus an array. (#14621, @​jirkace)
  • An array created by a nested assignment with an offset ($a[$k][$i] = $v) is non-empty. (#14404, @​jirkace)
  • Destructurings PHP refuses to compile are reported, as are keys that a sealed shape doesn't have. (#14604, @​jirkace)
  • An invalid or mixed offset is reported once for $a[$k]++, $a[$k] += 1 and by-reference arguments. (#14540, @​jirkace)
  • Destructuring or iterating into an item of an ArrayAccess object no longer checks a wrong value against offsetSet(). (#14371, @​jirkace)

Templates and generics

... (truncated)

Commits
  • b1b1b17 Merge pull request #14916 from orklah/type-string-contract
  • 7f25b87 Clarify the docblocks of the text forms of a type
  • 8edb9e7 Document what each text form of a type is for
  • 01bfe92 Merge pull request #14913 from orklah/namespaced-string-id
  • 3d53b97 Mark the constant docblock text of empty-mixed and empty-numeric pure
  • cb64024 Write the docblock text of the types without one explicitly
  • 941960c Write the widened type in phpdoc format, the refined one for Psalm
  • 71dea3f Parenthesise an intersection written as array values
  • 90abd9f Write refined atomic types into docblocks by their id
  • 3ab8bae Merge pull request #14910 from orklah/union-getkey
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 6.16.1 to 7.19.0.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](vimeo/psalm@6.16.1...7.19.0)

---
updated-dependencies:
- dependency-name: vimeo/psalm
  dependency-version: 7.19.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants