PhpGt / Http

PSR-7 HTTP message implementation.
https://www.php.gt/http
MIT License
1 stars 1 forks source link

Bump phpstan/phpstan from 1.4.6 to 1.6.1 #132

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps phpstan/phpstan from 1.4.6 to 1.6.1.

Release notes

Sourced from phpstan/phpstan's releases.

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)

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:
    - vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more

Improvements 🔧

... (truncated)

Commits
  • e885276 PHPStan 1.6.1
  • a9efdf3 Updated PHPStan to commit 9e27a1775db4d487e31126326eb895431ace5622
  • 17f36ab Updated PHPStan to commit 2f49187491aa034d37d2728deb4ee8f5e1102aa6
  • 5a8fb50 Swiftmailer bug reproduction
  • 75ed05e Updated PHPStan to commit e97439c5987fc7747b68d3617a128fad68102642
  • 17b309a Reproduce issue with symfony/event-dispatcher-contracts
  • c386374 Updated PHPStan to commit ae35752e264697d1c287746ec1f66691027d492e
  • 96488af add documentation for checkDynamicProperties
  • 8a65968 Add documentation for global constants
  • 7525b53 Update phpdoc-types.md
  • 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 #133.