Skip to content

Bump phpstan/phpstan from 1.6.9 to 1.7.1

Imanuel Ulbricht requested to merge dependabot/composer/phpstan/phpstan-1.7.1 into main

Created by: dependabot[bot]

Bumps phpstan/phpstan from 1.6.9 to 1.7.1.

Release notes

Sourced from phpstan/phpstan's releases.

1.7.1

Improvements 🔧

  • Simplify and cleanup ArraySliceFunctionReturnTypeExtension (#1341), thanks @​herndlm!

Bugfixes 🐛

1.7.0

This release closes 25 issues! 🥳

Major new features 🚀

Bleeding edge 🔪

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 🔧

  • Allow setting error format in configuration file (#841), thanks @​ruudk!
  • Deprecated PHPStan\Type\ConstantTypeHelper::getTypeFromValue(). Instead of going from runtime value -> PHPStan type, use PHPStan\Reflection\InitializerExprTypeResolver::getType() to go from Expr -> PHPStan type. In case you have Scope available, use Scope::getType().

... (truncated)

Commits
  • e3baed2 PHPStan 1.7.1
  • e4f8a00 Updated PHPStan to commit c24aa5a165bf7e5bd1cd5edc2a6aedbc238a0de3
  • 627b79e Nicer reproduction
  • 7beee3d Reproduce Phalcon reflection issue
  • b7382f4 Updated PHPStan to commit 00ec4af19baf003e7ac33e99cfc17b1f40178165
  • 8bc88a7 Update command-line-usage.md
  • 2ad1485 Update discovering-symbols.md
  • bd37e80 Document new errorFormat parameter
  • 69999be Document immutable PHPDoc tag
  • 4f12bce Document readonly PHPDoc tag
  • 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)

Merge request reports

Loading