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

Build(deps-dev): Bump vimeo/psalm from 3.8.5 to 3.9.0 #358

Merged
merged 1 commit into from
Feb 18, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Feb 18, 2020

Bumps vimeo/psalm from 3.8.5 to 3.9.0.

Release notes

Sourced from vimeo/psalm's releases.

Improve initialisation

Running psalm --init can be confusing for first-timers.

When you run --init in the latest version it will scan your project to figure out the most appropriate starting level (here's an exhaustive list of all the error levels, and what they mean: https://psalm.dev/docs/running_psalm/error_levels/).

Instead of creating a large config file with a lot of issues, Psalm will now just make a note of the error level at the top of the file (this approach is modelled after PHPStan, which has used it for a number of years).

Other features

  • calling assert(...) on an value right after assigning to it cancels out any MixedAssignment issues (#2442)
  • this adds lowercase-string for when you want the type system to enforce a given string's lowercased-ness. Mainly used for Psalm internals.
  • Psalm will now automatically run in multiple processes wherever possible

Bugfixes

  • A few small bugfixes when using --diff mode
  • Fixed an issue when overriding FilterIterator::accept – thanks @weirdan! (#2761)
  • Allow properties with generic types to be initialised to equivalent objects with empty generic params (#2771)
  • Add support for multiple closure params when calling array_map (#2772)
  • Warn about possible paradoxes in assert calls (#2742)
  • Prevent checkstyle being corrupted when using Shepherd - thanks @staabm! (#2778)
  • Improve templating for method calls on objects that implement template params (#2764)
  • Improve filter_var output slightly (#2780)
  • Don’t crash when get_class arg type cannot be inferred, then used in static call (#2784)
  • Improve wildcard parsing in new const docblock types (#2785)
  • @orklah added a missing config referenced in #2737
  • @weirdan fixed JSON report output (#2792)
  • Ensured Numeric was not a reserved class name (#2789)
  • Allow trailing commas in @return object-like types (#2798)
  • @caugner fixed #2799, allowing DOMNode::$parentNode to be nullable
  • @weirdan updated the PHPStorm-specific language server docs in line with @zmitic's suggestions
  • @pilif added a function hook that's called after every function call (rather then every call that Psalm can understand) (#2804)
  • Properly fix @throws self (#2765)
  • Fix some false-positives where Psalm couldn't infer docblock return types inherited from interfaces (#2775)
  • Improve handling of negated assertions on templated class strings (#2819)
  • Improve handling of yield types when using templates (#2808)
  • Ensure using (object) casts doesn't result in crashes when re-analysing a file (#2826)
  • Ensure yield from expressions are treated as being used (#2823)
  • Allow unpacking of non-arrays that contain template params (#2824)
Commits
  • 9866b29 Suppress issue that appears in Windows
  • 320f3ec Update level config name
  • a55686b Move to more appropriate location
  • 2cb3d0f Fix error level docs
  • aab8eed Fix Phar-scoped issue checks
  • 0c2b107 If no level or totallyTyped is given, use level 2
  • f49c896 Allow totallyTyped to control level
  • e48d2ae Improve handling when threads cannot be used
  • a2c2a55 Update documentation
  • ced0928 Make config generation smarter
  • 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 will merge this PR once CI passes on it, as requested by @ergebnis-bot.


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 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 the .dependabot/config.yml file in this repo:

  • Update frequency
  • 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)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@codecov
Copy link

codecov bot commented Feb 18, 2020

Codecov Report

Merging #358 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #358   +/-   ##
=========================================
  Coverage     87.43%   87.43%           
  Complexity       38       38           
=========================================
  Files             4        4           
  Lines           191      191           
=========================================
  Hits            167      167           
  Misses           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 57c77f4...baa48f1. Read the comment docs.

@dependabot-preview dependabot-preview bot merged commit 1880747 into master Feb 18, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/composer/vimeo/psalm-3.9.0 branch February 18, 2020 06:41
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.

1 participant