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.2.1 to 4.3.0 #92

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps vimeo/psalm from 4.2.1 to 4.3.0.

Release notes

Sourced from vimeo/psalm's releases.

4.3.0

Features

  • UnusedConstructor is now a separate issue from UnusedMethod. This allows people to use the private constructor pattern to prevent instantiation of classes that just have static methods (#4656)
  • RedundantCast is now a separate issue from RedundantCondition. It is now emitted for more redundant casts thanks to @orklah adding better detection (#4695)
  • @odoucet added support for the CodeClimate output format (#4387)
  • @weirdan added a test to ensure all new Psalm annotations are documented (#4723)
  • RedundantPropertyInitializationCheck is now emitted for isset checks on class properties that Psalm thinks should be defined. This allows users who prefer to initialize properties outside constructors to silence just that issue (#4732)

Bugfixes

Psalter

  • @orklah added support for adding static return types when running in PHP 8 (#4641)
  • @orklah added support for adding int|string phpdoc standin for array-key (#4645)
  • @orklah added support for adding string phpdoc standin for Foo::class (#4651)
  • use union types in PHP 8 wherever possible (#4643)

Taint analysis

PHP 8 compatibility

  • Promoted properties are always treated as initialised (#4615)
  • Flag invalid attribute arguments (#4611)
  • Ensure classes used as attributes themselves have the Attribute attribute (#4475)
  • Ensure the Attribute attribute is only valid on classes (#4609)
  • @orklah fixed param names on core functions to enable named-argument calling in PHP 8 (#4745)
  • @orklah fixed return type additions when returning from finally (#4746)

Miscellaneous

  • Allow the Phar to run in PHP 7.2 (#4640)
  • Prevent crash with recursively-defined @psalm-type in root namespace (#4653)
  • @staabm made many file-based functions impure (#4674, #4676, #4679, #4678)
  • @erikjwaxx narrowed the return type for $a <=> $b (#4680)
  • @orklah prevented the use of illegal array keys (#4660)
  • @BenMorel added a better return type for `PDOStatement::fetchObject' (#4682)
  • treat isset like !== null when the variable is defined (#4699)
  • @orklah fixed an incorrect cast to int when the integer is very large (#4702)
  • @LeSuisse fixed a bug in the taink sink map (#4703)
  • @orklah fixed reconciliation of is_object($some_iterable) (#4712)
  • use correct keys when a list with a known length is compared to an array (#3017)
  • template types are no longer substituted when they’re defined on the same class (#4733)
  • provide better support for nested template type definitions (#4731)
  • @orklah ensured that non-emptiness is treated as a docblock-level assertion (#4736)
  • @orklah added much better typing for bitshift operators (#4740)
Commits
  • 6f91655 Ref #4753 - allow int literals to inform key type
  • db8a3ab Fix #4751 - allow MethodSignatureMismatch to be overridable when info comes f...
  • e2bb02e Don’t suggest a potential value that’s undefined
  • b64eb6d Break out array_key_exists tests
  • a2b20f0 Fix #4752 - add property base assertions too
  • 496ce46 Break out method
  • f0876b8 Avoid false-positives while analysing memoised coalesce
  • 394eceb Memoize coalesce expression in more scenarios
  • 928fdda Don’t do new isset conversion on try-set vars
  • 1feca32 Fix loading imported functions
  • 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @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 your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • 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 4.2.1 to 4.3.0.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](vimeo/psalm@4.2.1...4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 2, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #93.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/vimeo/psalm-4.3.0 branch December 3, 2020 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants