Update PHPStan packages to v2 (major) - autoclosed

This MR contains the following updates:

Package Change Age Confidence
phpstan/phpstan ^1.10 -> ^2.0 age confidence
phpstan/phpstan-symfony ^1.3 -> ^2.0 age confidence

Release Notes

phpstan/phpstan (phpstan/phpstan)

v2.1.22

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

v2.1.21

Compare Source

Improvements 🔧

Bugfixes 🐛

Internals 🔍

v2.1.20

Compare Source

Bugfixes 🐛

v2.1.19

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

v2.1.18

Compare Source

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.1.17

Compare Source

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 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

v2.1.16

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

v2.1.15

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

  • Replace error-prone instanceof *Type in Rules classes (#​3858), thanks @​zonuexe!
  • Extract ArrayColumnHelper from ArrayColumnFunctionReturnTypeExtension (#​3785), thanks @​staabm!

v2.1.14

Compare Source

Bugfixes 🐛

Internals 🔍

v2.1.13

Compare Source

Major new features 🚀

Bleeding edge 🔪

  • Report @internal symbols usage from outside their top namespace, #​1178

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.1.12

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

v2.1.11

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

v2.1.10

Compare Source

Bugfixes 🐛

v2.1.9

Compare Source

Improvements 🔧

Bugfixes 🐛

Internals 🔍

v2.1.8

Compare Source

Improvements 🔧

Bugfixes 🐛

Internals 🔍

v2.1.7

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

  • StrlenFunctionReturnTypeExtension: Cleanup instanceof ConstantString (#​3780), thanks @​staabm!
  • Adjust and make space for tests for new behaviour of new (#​3852)

v2.1.6

Compare Source

Improvements 🔧

Bugfixes 🐛

Internals 🔍

v2.1.5

Compare Source

Improvements 🔧

Bugfixes 🐛

v2.1.4

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

v2.1.3

Compare Source

If you're using larastan/larastan PHPStan extension, please update to version 3.0.4 alongside PHPStan 2.1.3 for improved compatibility with the new generic static<...> type. Thank you.

This release includes fixes and improvements from PHPStan 1.12.17. Most impportantly it introduces GenericStaticType - support for static<...> (#​1289), #​12485, #​11398, #​10417, #​9807, #​9449, #​8623, #​5512

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

v2.1.2

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

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.7

Compare Source

  • 392f7ab - fix: Improve ParameterBag stub
  • 9c272bd - Add PropertyAccessor stub file alongside PropertyAccessorInterface

v2.0.6

Compare Source

  • 5005288 - Do not narrow KernelTestCase::getContainer() return type to internal TestContainer

v2.0.5

Compare Source

  • 582ddbc - Export-ignore github and editor config; remove leftover excludes
  • cf8c9c6 - chore(deps): update dependency psr/container to v1.1.2
  • 1430c2d - Fix build
  • dfb2387 - chore(deps): update metcalfc/changelog-generator action to v4.6.2

v2.0.4

Compare Source

  • 648087f - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • deec7cc - chore(deps): update metcalfc/changelog-generator action to v4.5.0
  • 8f0edc7 - Merge branch '1.4.x' into 2.0.x
  • d589514 - Update LICENSE
  • 65f02c7 - Add result cache meta extension for DI container
  • 7417f3a - Configuration class no longer needed, pass arguments directly to services
  • 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.3

Compare Source

  • 8f0edc7 - Merge branch '1.4.x' into 2.0.x
  • d589514 - Update LICENSE
  • 65f02c7 - Add result cache meta extension for DI container
  • 7417f3a - Configuration class no longer needed, pass arguments directly to services
  • 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.2

Compare Source

  • 65f02c7 - Add result cache meta extension for DI container
  • 7417f3a - Configuration class no longer needed, pass arguments directly to services

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