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.14.2 to 3.15 #185

Merged
merged 1 commit into from Sep 2, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 2, 2020

Bumps vimeo/psalm from 3.14.2 to 3.15.

Release notes

Sourced from vimeo/psalm's releases.

Automatically add pure/immutable annotations

Features

This release brings a couple of features that are useful to fans of functional programming.

If you're unfamiliar with these concepts, or want to know how Psalm uses them, read this article first.

Automatic addition of @psalm-pure/@psalm-immutable annotations (#4036):

Running vendor/bin/psalm --alter --issues=MissingPureAnnotation,MissingImmutableAnnotation will add those annotations to any function, method or class that deserves it.

So

function sayHello(string $s): string {
    return 'Hello ' . $s;
}

is transformed into

/**
 * @psalm-pure
 */
function sayHello(string $s): string {
    return 'Hello ' . $s;
}

Note: running this command will not recursively add annotations, so if you have a chain of callers like

function one(string $s) { return two($s); }
function two(string $s) { return $s; }

running the command once will produce

function one(string $s) { return two($s); }
/**

@psalm-pure
*/
function two(string $s) { return $s; }

and running it a second time will produce

Commits
  • de6e7f3 Make reportInfo="false" flag better
  • f6b2d0c Revert trim changes
  • 0519487 Fix type coercion
  • 01140f1 Fix Psalm errors
  • 7fd1e1f Add more accomodations for TPositiveInt
  • 167e1c4 Fix erroneous Closure::__invoke return type
  • c7c0493 Fix #4093 - prevent redundant condition in presence of positive-int
  • 2160396 Config reportInfo to speed up analysis for big projects (#4095)
  • 66bbfea Add null as a possible type parameter to strval (#4100)
  • ffc279e Converted MissingPropertyType to property issue (#4099)
  • 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
  • @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)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependency label Sep 2, 2020
@codecov
Copy link

codecov bot commented Sep 2, 2020

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##               main     #185   +/-   ##
=========================================
  Coverage     98.87%   98.87%           
  Complexity       58       58           
=========================================
  Files            14       14           
  Lines           178      178           
=========================================
  Hits            176      176           
  Misses            2        2           

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 132750e...fceae10. Read the comment docs.

@ergebnis-bot ergebnis-bot self-requested a review September 2, 2020 05:26
@ergebnis-bot ergebnis-bot self-assigned this Sep 2, 2020
@ergebnis-bot ergebnis-bot merged commit 77068ac into main Sep 2, 2020
@ergebnis-bot ergebnis-bot deleted the dependabot/composer/vimeo/psalm-3.15 branch September 2, 2020 05:26
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