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.4.1 to 4.5.2 #362

Merged
merged 1 commit into from
Feb 15, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 15, 2021

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps vimeo/psalm from 4.4.1 to 4.5.2.

Release notes

Sourced from vimeo/psalm's releases.

Fix PHP 7.1-7.2 builds

4.5.0 introduced syntax incompatible with PHP 7.2, this fixes it – thanks to @drealecs, and @weirdan who prevented future regressions.

  • fixes a possible infinite loop with some generic instantiation (#5211)
  • adds completions for function names thanks to @joehoyle (#5128)
  • allows @psalm-type to be used inside generics thanks to @leightonthomas (#5205)
  • array_key_exists now behaves a little safer thanks to @brainlock (#5197)
  • allow is_array check on a templated iterable (#5198)

Bugfixes

  • Fix #5196 - improve type resolution of templated properties before checking default values
  • Fix #5194 - don’t emit NonInvariantDocblockPropertyType when redefining core class properties

This should also reinstate psalm/phar publishing

4.5.0

Features

  • @Danysan1 added support for CodeClimate (#5030)
  • @bdsl added detection of property type variance in #5131. Non-invariant property types causes a fatal error if the property types are specified in PHP code, but can also signal issues with your code if they're specified in docblocks. Psalm has two separate issues for this, NonInvariantPropertyType and NonInvariantDocblockPropertyType.
  • Taint Analysis @adrienlucas added an option to dump the taint flow graph for debugging purposes (#5080)
  • Language Server @joehoyle added support for static class method completion (#5085) and completions for array keys (#5105) and constants (#5115)
  • Thanks to @weirdan, Psalm now emits exit code 1 only when it has internal issues. When it finds issues with your code it emits code 2 (#5087)
  • @weirdan added checks to prevent invalid implementation of Traversable (#5171)

Changes

  • The meaning of non-empty-string has been clarified to mean "every string except the empty string ''". A new type, non-falsy-string, represents "every string except the empty string and the string '0'". This follows PHP's treatment of falsiness, where the string '0' is treated as false.

Bugfixes

  • Don't discard staticness of objects when combining types (#5029)
  • @orklah fixed #5021 by having Psalm calculate more literal values
  • @lukasbestle fixed #5037 by removing the SimpleXMLIterator's reliance on the new \Stringable interface
  • avoid false-positive in a dynamic property fetch inside a ternary
  • prevent complex assertions from crashing reflection (#5025)
  • improve string non-emptiness combinations (#5017)
  • @weirdan fixed #5048 by ensuring the autoloader is started in psalm --init
  • @danog fixed #4289 by checking iterator types in yield from expressions
  • @weirdan fixed #5057 by adding flows to array spreads
  • @weirdan ensured class_alias() calls are respected when accessing static properties (#5068)
  • Language Server @joehoyle fixed a cache invalidation issue in language server mode (#5084)
  • @orklah provided a fix for #5082 by only transforming a keyed array to a callable array if there are two elements
  • @sj-i improved signatures for PDOStatement (#5100)
  • Taint Analysis prevented an issue where taint analysis could loop endlessly
  • fix issue using PDOStatement::fetchObject where stdClass is not also used (#5099)
  • Provide more errors when using named params incorrectly (#4631)
  • Unused code detection @joehoyle added reference tracking for global variables (#5122)
  • Taint Analysis @psalm-flow is now supported in methods (#5137)
  • @pilif added a parameter to DateTime::createFromInterface (#5138)

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

@codecov
Copy link

codecov bot commented Feb 15, 2021

Codecov Report

Merging #362 (4fc01f3) into main (b530a33) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##                main      #362   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity         8         8           
===========================================
  Files              2         2           
  Lines             24        24           
===========================================
  Hits              24        24           

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 b530a33...f040050. Read the comment docs.

@ergebnis-bot ergebnis-bot self-assigned this Feb 15, 2021
ergebnis-bot
ergebnis-bot previously approved these changes Feb 15, 2021
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.4.1 to 4.5.2.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](vimeo/psalm@4.4.1...4.5.2)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/vimeo/psalm-4.5.2 branch from 386c6fe to f040050 Compare February 15, 2021 08:11
@ergebnis-bot ergebnis-bot self-requested a review February 15, 2021 08:13
@ergebnis-bot ergebnis-bot merged commit bde7d42 into main Feb 15, 2021
@ergebnis-bot ergebnis-bot deleted the dependabot/composer/vimeo/psalm-4.5.2 branch February 15, 2021 08:13
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

2 participants