Skip to content

Update PHPStan packages to v2 (major)

Renovate Bot requested to merge renovate/major-phpstan-packages into main

This MR contains the following updates:

Package Type Update Change
phpstan/phpstan require-dev major ^1.10 -> ^2.0
phpstan/phpstan-symfony require-dev major ^1.3 -> ^2.0

Release Notes

phpstan/phpstan (phpstan/phpstan)

v2.1.1

Compare Source

Improvements 🔧

Bugfixes 🐛

Internals 🔍

  • Update PHP-Parser and BetterReflection (#​3767)
    • Simplify code thanks to PHP-Parser update
    • Simplify code thanks to BetterReflection update
    • PropertyHookReturnStatementsNode is invoked for short body hooks
    • ShortGetPropertyHookReturnTypeRule is no longer needed
    • PropertyHookNameVisitor is no longer needed, PHP-parser comes with propertyName attribute

v2.1.0

Compare Source

Read all about this release on PHPStan's blog!

Major new features 🚀

  • Support for PHP 8.4's property hooks (RFC)
  • Support for PHP 8.4's asymmetric visibility (RFC)
  • Support for PHP 8.4's #[Deprecated] attribute (RFC)

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 🔧

Bugfixes 🐛

Internals 🔍

v2.0.4

Compare Source

This release includes improvements and fixes from PHPStan 1.12.13.

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

v2.0.3

Compare Source

This release includes improvements and fixes from PHPStan 1.12.12.

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 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

v2.0.2

Compare Source

Improvements 🔧

Internals 🔍

v2.0.1

Compare Source

Bugfixes 🐛

v2.0.0

Compare Source

PHPStan 2.0

Read more about PHPStan 2.0.

Check out the UPGRADING guide!.

Buy the PHPStan elephpant and T-shirts!

Design 2

Major new features 🚀

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

phpstan/phpstan-symfony (phpstan/phpstan-symfony)

v2.0.1

Compare Source

  • c08cd8e - Fix CS after merge
  • fa54bd1 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 1ef4dce - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 55ff7b7 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 282a698 - Fix after PHPStan update
  • bb3e671 - Cleanup skipCheckGenericClasses
  • 237165e - Fixes after PHPStan update
  • d1e08ac - Fixes after PHPStan update
  • a0572ad - Fixes after PHPStan update
  • 7e5633f - [BCB] Remove legacy config options with _ in their name
  • 4f260f0 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 3eb61a0 - Fixes after PHPStan update
  • bd9efb7 - Fixes after PHPStan update
  • 23a776d - Fixes after TypeSpecifier BC break
  • c88f96e - Drop dependency on nikic/php-parser
  • 90e8976 - Update build-cs
  • 2f736a6 - Stop testing PHP 7.2 and 7.3
  • 2c53b38 - Open 2.0.x

v2.0.0

Compare Source

  • 1ef4dce - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 55ff7b7 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 282a698 - Fix after PHPStan update
  • bb3e671 - Cleanup skipCheckGenericClasses
  • 237165e - Fixes after PHPStan update
  • d1e08ac - Fixes after PHPStan update
  • a0572ad - Fixes after PHPStan update
  • 7e5633f - [BCB] Remove legacy config options with _ in their name
  • 4f260f0 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 3eb61a0 - Fixes after PHPStan update
  • bd9efb7 - Fixes after PHPStan update
  • 23a776d - Fixes after TypeSpecifier BC break
  • c88f96e - Drop dependency on nikic/php-parser
  • 90e8976 - Update build-cs
  • 2f736a6 - Stop testing PHP 7.2 and 7.3
  • 2c53b38 - Open 2.0.x

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about these updates again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports

Loading