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

composer(deps-dev): bump vimeo/psalm from 4.7.0 to 4.7.2 #729

Merged
merged 1 commit into from
May 19, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 3, 2021

Bumps vimeo/psalm from 4.7.0 to 4.7.2.

Release notes

Sourced from vimeo/psalm's releases.

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

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
  • 83a0325 Always run legacy plugins first
  • 0f5b117 Migrate ClassLikeName options to object
  • 79fcf79 Kill children on error and check if stream is closed before writing from chil...
  • fb5c5a9 Fix array<empty, empty> not in array{foo?: mixed}<string, mixed> (#5677)
  • 123a9bc Add type-accepts-type unit test
  • 698adef Rename incorrectly-named test
  • 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...
  • 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 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

@codecov
Copy link

codecov bot commented May 3, 2021

Codecov Report

Merging #729 (3c191c9) into main (da1c1e8) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main     #729   +/-   ##
=========================================
  Coverage     83.96%   83.96%           
  Complexity       57       57           
=========================================
  Files             4        4           
  Lines           237      237           
=========================================
  Hits            199      199           
  Misses           38       38           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da1c1e8...3c191c9. Read the comment docs.

@dependabot dependabot bot force-pushed the dependabot/composer/vimeo/psalm-4.7.2 branch from 6fc1d0b to 6a9ba8c Compare May 19, 2021 11:50
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.7.0 to 4.7.2.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](vimeo/psalm@4.7.0...4.7.2)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/vimeo/psalm-4.7.2 branch from 6a9ba8c to 3c191c9 Compare May 19, 2021 11:50
@localheinz localheinz self-assigned this May 19, 2021
@localheinz localheinz merged commit 660e02b into main May 19, 2021
@localheinz localheinz deleted the dependabot/composer/vimeo/psalm-4.7.2 branch May 19, 2021 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant