Skip to content

Bump vimeo/psalm from 4.6.3 to 4.7.3 #446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps vimeo/psalm from 4.6.3 to 4.7.3.

Release notes

Sourced from vimeo/psalm's releases.

Bugfixes galore

Improved unused property detection

Psalm emits UnusedProperty and PossiblyUnusedProperty issues when properties are declared but never referenced. Previously Psalm would count a property assignment as a reference to a property, but this has now been fixed so a property is treated as unused unless it is explicitly read from (#5810). As before, UnusedProperty is emitted for private properties, while PossiblyUnusedProperty is emitted for public and protected properties.

More ParamNameMismatch strictness

When I originally implemented ParamNameMismatch I ignored methods with only one param, thinking that people would not call methods with a single param using named arguments, but in retrospect this was a little too liberal. @​VincentLanglet has restricted this appropriately (#5732)

Other bugfixes

  • Improved negation of complex conditionals containing assignments (#5685)
  • combining scalar and empty-scalar should result in scalar (#5696)
  • Inherit class-level suppressions when checking methods (#5687, #3357) - thanks @​weirdan
  • infer never types in more situations (#5777) — thanks @​weirdan
  • prevent notice for some invalid docblocks (#5709) - thanks @​weirdan
  • prefer @psalm-template over @phpstan-template (#5713) - thanks @​weirdan
  • add JSON schema link for SARIF output (#5718) - thanks @​weirdan
  • unpack can return false — thanks @​robchett
  • improved array_splice inference (#5738) — thanks @​orklah
  • combining never and empty should result in never(#5756)
  • prevent OOM when using array_merge inside a loop (#4910)
  • prevent crash when templates cannot be resolved (#5073)
  • all opcache_* functions are impure (#5761)
  • prevent OOM on very large conditionals (#5327)
  • improved inference after a nullsafe method call has been made (#5771) - thanks @​orklah
  • prevent crash with class-string-map usage (#5434)
  • improved inference of array_fill (#5770) — thanks @​olsavmic
  • fixed bug extending a mixed param (#5763) — thanks @​orklah
  • added link to GitHub Actions report format (#5759) — thanks @​sjparkinson
  • call methods with proper params (#5768)
  • preserve type after redundant cast to int (#5773) — thanks @​orklah
  • improved return type of htmlspecialchars and strlen (#5785, #5793) — thanks @​still-dreaming-1 and @​orklah
  • Psalm Refactor prevent trying to move synthetically-produced parts of the AST (#5780) — thanks @​pawel-slowik
  • narrow possible types when two variables are compared (#5774) — thanks @​orklah
  • Catch nullref inside __invoke arguments (#5809)
  • allow ''| at the start of a union type in docblocks (#5814) — thanks @​orklah
  • add stubs for mongodb (#5813) — thanks @​franmomu
  • improve generated assertions for >= 0 (#5815) — thanks @​orklah
  • prevent incorrect templated array types (#5799)
  • transform bad array offsets where necessary (#5817) — thanks @​orklah

4.7.2

  • Includes a small change to run legacy plugins for a given function/method/class/property earlier than newer plugins
  • @​VincentLanglet fixed a bug where empty arrays were not permissible for some complex array types (#5677)

Fix potential templated static issue

Prevent type unsoundness in static generic

@​gharlan pointed out that return new static can be unsound on generic classes (#5383).

... (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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

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

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 24, 2021
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dependabot-preview
Copy link
Contributor Author

Superseded by #458.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/vimeo/psalm-4.7.3 branch June 21, 2021 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants