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

Bump vimeo/psalm from 4.4.1 to 4.6.2 #4

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

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

Bumps vimeo/psalm from 4.4.1 to 4.6.2.

Release notes

Sourced from vimeo/psalm's releases.

More bugfixes

  • @​weirdan fixed a notice (#5255)
  • @​spyric fixed line references in the CodeClimate output (#5262)
  • @​elnoro limited incidence of the UnresolvableInclude after an is_file check
  • @​orklah improved the error message when new PHP syntax cannot be understood when analysing older PHP code (#5268)
  • @​orklah improved the signature map for session_id (#5272)
  • $unknown_object::someMethod() calls are no longer prohibited (#5257)
  • more static returns are interpreted as self in the case of final classes/methods (#5244)
  • fixed interpretation of parent::foo() inside traits (#5264)
  • fix reconciliation of classes with interfaces (#5236)
  • @​boesing fixed an unnecessary ConfigException (#5280)
  • fix an issue when properties aren't being memoised after calls (#5231)
  • improve handling of get_class($templated_var) (#5279)
  • expand out templated params that cannot be inferred in new calls (#5229)

Internals

Fix autocompletion in PHP 7.3

This used some extra arguments in preg_replace_callback that were only added in PHP 7.4. Also @​orklah improved bit-shift operation return types (#5233)

Improve autocompletion for functions

This release improves language server behaviour for autocompletion, and fixes some caching bugs triggered by invalid PHP.

Also @​VincentLanglet renamed some stubs to avoid conflicting with PHPStorm (#5213)

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)

... (truncated)

Commits
  • bca09d7 Fix style issues
  • 474ebf9 Fix #5229 - new SomeTemplatedClass should expand out params even if none passed
  • d484199 Fix #5279 - don’t convert get_class($templated) into dependent type
  • b2c3583 Remove mistakenly-duplicated code for get_* functions
  • 924f6b6 Propagate mutation removal up the context parent tree
  • 71064cf fixed typo in contributing/index.md (#5281)
  • 5169bd7 bugfix: do not throw ConfigException when missing files are allowed (#5280)
  • fff32d0 added test for multiline templates (#5282)
  • ed6fdaa [Doc] Show how to install the phar by direct download (#5274)
  • e59670e Add documentation to LSP (#5267)
  • 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 @github
Copy link
Author

dependabot bot commented on behalf of github Mar 6, 2021

The following labels could not be found: dependencies, Skip-Changelog.

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@2da4c65). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master       #4   +/-   ##
=========================================
  Coverage          ?   69.10%           
  Complexity        ?      742           
=========================================
  Files             ?       74           
  Lines             ?     2693           
  Branches          ?        0           
=========================================
  Hits              ?     1861           
  Misses            ?      832           
  Partials          ?        0           

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 2da4c65...3016b61. Read the comment docs.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 15, 2021

Superseded by #12.

@dependabot dependabot bot closed this Mar 15, 2021
@dependabot dependabot bot deleted the dependabot/composer/vimeo/psalm-4.6.2 branch March 15, 2021 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant