Skip to content
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

Update vimeo/psalm requirement from 4.7.0 to 4.7.1 #94

Merged
merged 2 commits into from
Apr 26, 2021

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on vimeo/psalm to permit the latest version.

Release notes

Sourced from vimeo/psalm's releases.

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

This release fixes that unsoundness, emitting an UnsafeGenericInstantiation issue in some instances. The docs have more information.

Other bugfixes

  • @​weirdan fixed an issue with instanceof being flagged after a class_exists check (#5498)
  • array_values and iterator_to_array should now respect nested templates (#5506)
  • @​weirdan added a prohibition for @template annotations on closures (#5499)
  • @​weirdan marked more functions as impure (#5524)
  • Improved error message when calling isset(self::$some_property) when the property has a non-nullable type, with help from @​weirdan (#5489)
  • @​vudaltsov marked flock and iterator_to_array as impure
  • Ensure function and methods are marked as used inside throw expressions (#5540, #5545)
  • Ensure nullsafe methods are assumed used (#5542)
  • @​AndrolGenhald improved analysis of concats (#5544)
  • @​weirdan improved the return type for get_object_vars() (#5557)
  • @​weirdan added a coercion warning when coercing object to object{foo: string} (#5566)
  • @​weirdan added support for arrays of objects in array_column (#5567)
  • fix assigned-in-conditional edge-case (#5578, #5640)
  • @​AndrolGenhald added a lot of improvements to class constant resolution (#5591)
  • @​AndrolGenhald fixed method visibility false-negative (#5595)
  • @​orklah allowed numeric to be falsy (#5598)
  • @​AndrolGenhald improved int/float comparison for conditional types, allowing a fix for range types (#5601)
  • @​AndrolGenhald fixed a race condition with cache directory setup (#5603)
  • @​orklah added numeric - int = string|float calculations (#5611)
  • @​samsonasik marked json_last_error as impure
  • @​weirdan forbidded rejecting named arguments when the parent method supports them (#5627)
  • @​Jean85 added compatibility for xdebug handler 2.0
  • @​VincentLanglet added support for @phpstan-import-type as an alias for @psalm-import-type (#5648)
  • @​orklah added missing documentation for @no-named-arguments (#5654)
  • Use more accurate type combination rules when converting templated union (#5652)
  • Prevent crash when reporting issue on virtual arg (#5662)
  • Use mixed type for $foo->$bar, preventing UnusedVariable in some situations (#5518)
  • Ensure @var docblocks don’t override a variable's by-reference property (#5517)
Commits
  • cd53e04 Improve messages
  • 4f5c205 Improve error message for #5489
  • 933822e Do not consider isset checks on static properties as redundant (#5525)
  • 85a0ef0 Revert "Do not consider isset checks on static properties as redundant (#5525...
  • 83f08bc Fix property tests
  • 67c5dc3 Fix #5517 - don’t let a variable’s by-refness be overwritten by a @​var docblock
  • 7b7354e Fix #5518 - add type for property with variable name
  • daa4028 Add slashes
  • 2fa55d1 Allow parent class to call child protected method
  • 64fdac3 Fix #5641 - types should always be comparable to themselves
  • Additional commits viewable in compare view

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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [vimeo/psalm](https://github.com/vimeo/psalm) to permit the latest version.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](vimeo/psalm@4.7.0...4.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 26, 2021
@coveralls
Copy link

coveralls commented Apr 26, 2021

Pull Request Test Coverage Report for Build 76f8d2e5f2668f699dcdfc5164a76b17bb96d080-PR-94

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 93.023%

Totals Coverage Status
Change from base Build 5b286f76a1c4032fe7f8fe63bb1734359b09a610: 0.0%
Covered Lines: 240
Relevant Lines: 258

💛 - Coveralls

@simPod
Copy link
Owner

simPod commented Apr 26, 2021

@dependabot rebase

@dependabot-preview
Copy link
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@simPod simPod merged commit cc6e6a3 into master Apr 26, 2021
@simPod simPod deleted the dependabot/composer/vimeo/psalm-4.7.1 branch April 26, 2021 10:53
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.

2 participants