diablomedia / useragent-parser-comparison

Application to compare and benchmark UserAgent parsing libraries
MIT License
7 stars 4 forks source link

Bump vimeo/psalm from 3.6.4 to 4.5.0 #284

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps vimeo/psalm from 3.6.4 to 4.5.0.

Release notes

Sourced from vimeo/psalm's releases.

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)
  • Psalter @orklah fixed a bug that used an inexact return type for anonymous classes (#5145)
  • Unused code detection @weirdan marked throw variables as always used (#5166)
  • @vudaltsov improved the signature for PDO::pgsqlGetNotify (#5169)
  • improve handling of callables in the form [$some_var, 'some_method_name'] (#5176)

Internal

Bugfixes

  • prevents unnecessary execution of git commands (bug introduced in 4.4.0) (#5008)
  • @orklah removed signature return types in stubs to prevent false positive method signature mismatches (#5014)
  • @orklah removed a false-positive for templated array keys when creating arrays (#5019)
  • @thomasbley added a proper error message when exec is unavailable (#5010)

... (truncated)

Commits
  • a45b5e2 Add detail about non-empty-string
  • ccdb29a Improve handling of property-mutating calls
  • 2dc8665 Check context var exists
  • 88fe805 Prevent throwing a division by zero when encountering a literal division by z...
  • c7b7da4 Add slashes
  • 61478bb Use generics to allow property subclassing
  • 8aaa489 Make more operations generic-safe
  • b9dac8c Add slashes
  • a955dab Account for context var not existing
  • 2b9d307 Fix #5184 - remove this vars from parent context where possible
  • 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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - 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)
dependabot-preview[bot] commented 3 years ago

Superseded by #285.