Skip to content

chore(deps): update dependency phpstan/phpstan to v2 #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpstan/phpstan 1.9.14 -> 2.1.14 age adoption passing confidence

Release Notes

phpstan/phpstan (phpstan/phpstan)

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 🔧

  • @readonly property cannot be passed by-ref (#​3850), #​12676, thanks @​staabm!
  • ClassReflection - cannot be a subclass of final-overriden class (phpstan/phpstan-src@ed4ea0a)
  • Deprecated ClassReflection::isSubclassOf(string $className) in favour of ClassReflection::isSubclassOfClass(ClassReflection $class)
    • If you just have string $className instead of ClassReflection and you are too lazy to get ClassReflection via ReflectionProvider, you can still use ClassReflection::is(string $className)

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 🔍


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 PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from 4134657 to 0877ecd Compare December 17, 2024 17:49
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 2 times, most recently from c66df5b to c32b678 Compare January 5, 2025 18:35
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from c32b678 to c231931 Compare January 21, 2025 19:11
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 3 times, most recently from db47c7d to d9996f3 Compare February 13, 2025 19:35
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from d9996f3 to f30f1d2 Compare February 19, 2025 19:49
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 2 times, most recently from 1bf8999 to fdfc0d7 Compare March 9, 2025 10:24
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 3 times, most recently from 1158567 to cec0a3e Compare March 24, 2025 16:29
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from cec0a3e to cb88867 Compare April 16, 2025 15:56
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from cb88867 to 8cd51be Compare April 27, 2025 13:48
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from 8cd51be to 001c8a0 Compare May 2, 2025 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants