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 3.12.2 to 3.14.2 #330

Merged
merged 1 commit into from
Aug 30, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 24, 2020

Bumps vimeo/psalm from 3.12.2 to 3.14.2.

Release notes

Sourced from vimeo/psalm's releases.

Fix another regression

Bugfixes

  • Fix exception when two mixins declare the same method (seen frequently on Laravel, thanks @xyng) – #4013
  • Prevent mixed assignment in loop after positive check (#4011)
  • Allow @psalm-type to reference imported type right above (#3999)
  • Fixed some hash_* function signatures - thanks @baukevdw (#4014)
  • Allow float defaults in namespaced class @method docblock annotations (#4017)
  • Taint analysis - added sinks for pgsql functions - thanks @TysonAndre (#4021)
  • Resolve type aliases in foreach docblock annotations - thanks @weirdan (#4029)
  • Don’t hang when pcntl_fork is disabled - thanks @weirdan (#3951)
  • Add config option to discover unused @psalm-suppress on every run – thanks @micheh (#3011)

Fix regression

Fixes a crash with this code:

/**
  * @param array<int, int> $arr
 */
 function foo(array $arr) : void {
    for ($i = 20; $arr[$i] === 5 && $i > 0; $i--) {}
}

Flag named argument discrepancies

Features

Named argument checks with ParamNameMismatch

For more information, see this article.

Preventing unsafe instantiation

Psalm now warns you when calling new $foo() where $foo() is a class that can be extended and where the constructor is not declared final, or new static where the constructor is not declared final (#3934).

For more information, see the issue page

Other features

  • @mr-feek added support for supplying memory limit with a --memory-limit flag (#3947)

Bugfixes

  • fix a few false-positives around positive-int types (#3914)
  • expand scalar-class-constant types in a few more places (#3913, #3741)
  • @NicolasCARPi improved the signature for hash_file() (#3920)
  • honour arrays with class-string keys when appending literal classes (#3923)
  • @SignpostMarv marked bscale as impure (ref #3918)
  • preserve list-ness when assigning to a tuple inside a loop (#3928)
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)

@codecov
Copy link

codecov bot commented Aug 24, 2020

Codecov Report

Merging #330 into main will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##                main      #330   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       161       161           
===========================================
  Files             34        34           
  Lines            521       521           
===========================================
  Hits             521       521           

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 85113bc...12ea6da. Read the comment docs.

@dependabot dependabot bot force-pushed the dependabot/composer/vimeo/psalm-3.14.2 branch 2 times, most recently from 9473295 to da8cce4 Compare August 30, 2020 11:25
@ergebnis-bot ergebnis-bot self-requested a review August 30, 2020 11:27
@ergebnis-bot ergebnis-bot self-assigned this Aug 30, 2020
ergebnis-bot
ergebnis-bot previously approved these changes Aug 30, 2020
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 3.12.2 to 3.14.2.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](vimeo/psalm@3.12.2...3.14.2)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/vimeo/psalm-3.14.2 branch from 7648a3f to 12ea6da Compare August 30, 2020 11:32
@ergebnis-bot ergebnis-bot self-requested a review August 30, 2020 11:32
@ergebnis-bot ergebnis-bot merged commit ff687b2 into main Aug 30, 2020
@ergebnis-bot ergebnis-bot deleted the dependabot/composer/vimeo/psalm-3.14.2 branch August 30, 2020 11:32
@ergebnis-bot ergebnis-bot self-requested a review August 30, 2020 11:37
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