xy2z / PineDocs

A fast and lightweight site for viewing files
GNU General Public License v3.0
141 stars 19 forks source link

Bump phpstan/phpstan from 1.4.6 to 1.6.2 #202

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps phpstan/phpstan from 1.4.6 to 1.6.2.

Release notes

Sourced from phpstan/phpstan's releases.

1.6.2

Improvements 🔧

Bugfixes 🐛

1.6.1

Bugfixes 🐛

1.6.0

Read the article about PHPStan 1.6.0 »

Major new features 🚀

  • Conditonal return types (pull requests), #3853, big thanks to @​rvanvelzen!
    • Allows return types in the form of @return ($i is positive-int ? non-empty-array : array) (don't forget the parentheses!)
    • Another possible form is with generic @template tags: @return (T is positive-int ? non-empty-array : array)
  • int-mask<...> and int-mask-of<...> types (#1166), thanks @​rvanvelzen!
  • Allow global constants as PHPDoc types (#1163), thanks @​rvanvelzen!
  • Update php-8-stubs to know about PHP 8.1 function signature changes, #7017, #6448
  • Make isset() and null-coalesce (??) operators consistent with each other (#1223), thanks @​rajyan!
    • New option checkDynamicProperties to restore the original stricter behaviour (#1234), thanks @​rajyan!

Bleeding edge 🔪

  • Fully static reflection engine
    • After feedback is gathered and processed, this will be enabled for everyone later in PHPStan 1.x release cycle.
  • Lower memory consumption thanks to breaking up of reference cycles
    • This is a BC break for rules that use 'parent', 'next', and 'previous' node attributes. Learn more »
    • In testing the memory consumption was reduced by 50–70 %.
  • ArrayUnpackingRule (level 3) (#856), thanks @​canvural!
  • Rules for checking direct calls to __construct() (level 2) (#1208), #7022, thanks @​muno92!
  • checkMissingIterableValueType: false no longer does anything (https://github.com/phpstan/phpstan-src/commit/50d0c8e23ea85da508ab8481f1ff2c89148cc80b)

... (truncated)

Commits
  • becb960 PHPStan 1.6.2
  • 832494a Updated PHPStan to commit 3a3c69eb93851fdb10dd360770e6d0bf5e65f827
  • 627823b Updated PHPStan to commit 54f15441eba3907c4ff056f6dafb1c2801a6b766
  • fdc8c46 Include getAdditionalConfigFiles() in the rule test example
  • a4f6853 Updated PHPStan to commit e0cf36dd465838fabf79e30b6f856e00739db913
  • 9a94795 Updated PHPStan to commit 8ad5d3fd3510ba2b8f3104c70dc3e25c476bb010
  • e885276 PHPStan 1.6.1
  • a9efdf3 Updated PHPStan to commit 9e27a1775db4d487e31126326eb895431ace5622
  • 17f36ab Updated PHPStan to commit 2f49187491aa034d37d2728deb4ee8f5e1102aa6
  • 5a8fb50 Swiftmailer bug reproduction
  • 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[bot] commented 2 years ago

Superseded by #203.