Skip to content

Bump vimeo/psalm from 4.8.1 to 4.9.2

Wesley Klop requested to merge dependabot/composer/vimeo/psalm-4.9.2 into develop

Created by: dependabot[bot]

Bumps vimeo/psalm from 4.8.1 to 4.9.2.

Release notes

Sourced from vimeo/psalm's releases.

Improve preloading and fix template bounds checks

Fixes an issue introduced in 4.9.0: #6212

Also improves Psalm's knowledge when some stub files are loaded (#5126, #5626)

Fixed TIntRange bounds types

TIntRange changes

The types for int range bounds were sub-optimal. This release fixes this. Formally this is a BC break, for plugins. However, given the short time that passed since TIntRange introduction we believe it should be OK to release it as a patch release.

Fixes

First community release

Features

  • (#5974, #5980) Ability to turn off inferPropertyTypesFromConstructor (thanks @​weirdan)
  • (#6008, #6010) LSP server now runs analysis on open and save (thanks @​tm1000)
  • (#6013, #6014, #6055) LSP server now understands didChangeWatchedFiles notification (thanks @​tm1000)
  • (#6058, #6059) Support for xml:base attribute (useful for modular configs) (thanks @​turnabout)
  • (#6060) FunctionReturnTypeProviderEvent and MethodReturnTypeProviderEvent now provide access to the statement via getStmt() method (thanks @​VincentLanglet)
  • (#6106) Added support for interface-string<FooInterface> (currently as an alias to class-string<FooInterface>) (thanks @​muglug)
  • (#5512) Added option to enable Shepherd reporting with environment variables (PSALM_SHEPHERD and PSALM_SHEPHERD_HOST) (thanks @​ngmy)
  • (#6117, #6130) Psalm now flags static access to non-static property (and vice versa) (thanks @​weirdan)
  • (#6155) Added support for PHP 8.1 native readonly flag on properties (thanks @​muglug)
  • (#6110, #6142) Now you may configure trigger_error() behavior (thanks @​orklah)
  • (#6152, #6181) Psalm now understands that the only descendants of DateTimeInterface are DateTime and DateTimeImmutable (thanks @​Jack97)
  • (#6207) Preliminary support for int ranges (e.g. int<min, 25>, int<2, 8> etc) (thanks @​orklah)

Fixes

... (truncated)

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Merge request reports