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.6.4 to 4.7.0 #475

Merged
merged 3 commits into from Apr 20, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 29, 2021

Bumps vimeo/psalm from 4.6.4 to 4.7.0.

Release notes

Sourced from vimeo/psalm's releases.

Better tracking of mixed issues

Features

Better tracking of mixed issues

On level 1 Psalm now provides traces whenever mixed types occur in your code, to help you pinpoint where the mixed types were introduced. Here's an article that goes into more detail.

Some unused code is now a level 1 issue

Unused code detection breaks down into two main categories: function-scoped unused code (e.g. unused variables and unused closure params) and codebase-scoped (unused public methods, unused public properties).

Psalm has unused code detection for a long time, but it's always been opt-in. Now in version 4.7 all function-scoped unused code issues are emitted when using level 1, Psalm's strictest level.

This allows us to perform the aforementioned tracking of mixed types, because we're using the same underlying mechanism for both features. More importantly, it should also help you improve code quality, and avoid bugs.

Plugin hook for per-expression taint analysis

@​mortenson has added a plugin that allows you to add and remove taint flows (#5398)

Error level XML autocompletion improvements

@​weirdan made the XML config level more specific, allowing the value to be autocompleted in IDEs that understand the .xsd (#5476)

Add @psalm-ignore-var

Thanks to @​sj-i you can now tell Psalm to ignore an inline @var type annotation with a @psalm-ignore-var tag (#5488)

Psalm level badges

If your project is open-source you can now show what Psalm level you use in a badge:

[![Psalm level](https://shepherd.dev/github/<username>/<repository>/level.svg?)](https://psalm.dev/)

This is the badge for Psalm's repository:

Psalm level

Make sure your build is sending appropriate data to Shepherd, the Psalm build data service:

vendor/bin/psalm --shepherd

Bugfixes

... (truncated)

Commits
  • d4377c0 Check upper bound too
  • 2d197e3 Allow older composer/semver cc @​xurizaemon
  • ec7de89 Do not let string subtypes subsume class-strings (#5497)
  • 9a714b7 Fix #5496 - ensure params extended in properties are properly fleshed out
  • f41deea Taint through reset call
  • f24ef25 Add better trace for MixedOperand issues
  • 93743d1 Also add better message for MixedArgumentTypeCoercion
  • 54ac13b Allow nested template unwrapping inside reset, end
  • 2f5bec3 Fix reference
  • d4a3e36 Add Psalm level badge
  • 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)

@dependabot dependabot bot force-pushed the dependabot/composer/vimeo/psalm-4.7.0 branch from 24a410f to 7083181 Compare April 20, 2021 08:44
@codecov
Copy link

codecov bot commented Apr 20, 2021

Codecov Report

Merging #475 (04a7574) into main (fa7f351) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##                main      #475   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       164       164           
===========================================
  Files             34        34           
  Lines            515       515           
===========================================
  Hits             515       515           
Impacted Files Coverage Δ Complexity Δ
src/ChainNormalizer.php 100.00% <100.00%> (ø) 3.00 <0.00> (ø)
src/Exception/InvalidIndentStyleException.php 100.00% <100.00%> (ø) 3.00 <0.00> (ø)
...on/NormalizedInvalidAccordingToSchemaException.php 100.00% <100.00%> (ø) 3.00 <0.00> (ø)
...tion/OriginalInvalidAccordingToSchemaException.php 100.00% <100.00%> (ø) 3.00 <0.00> (ø)
src/Validator/Result.php 100.00% <100.00%> (ø) 4.00 <0.00> (ø)

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 fa7f351...04a7574. Read the comment docs.

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/vimeo/psalm-4.7.0 branch from 7083181 to 31af851 Compare April 20, 2021 08:55
@localheinz localheinz self-assigned this Apr 20, 2021
@localheinz localheinz merged commit ecedc74 into main Apr 20, 2021
@localheinz localheinz deleted the dependabot/composer/vimeo/psalm-4.7.0 branch April 20, 2021 10:16
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