Conversation

renovate[bot]

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
phpstan/phpstan1.11.11 -> 2.1.17ageadoptionpassingconfidence

Release Notes

phpstan/phpstan (phpstan/phpstan)

v2.1.17

Compare Source

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 🔧

  • @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 🔧


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.

@renovaterenovate bot added the renovate label Nov 13, 2024
@renovateRenovate

⚠️Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: api/composer.lock
Command failed: composer update phpstan/phpstan:2.1.17 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires phpstan/phpstan 2.1.17 (exact version match: 2.1.17 or 2.1.17.0), found phpstan/phpstan[2.1.17] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - rector/rector is locked to version 1.2.4 and an update of this package was not requested.
    - rector/rector 1.2.4 requires phpstan/phpstan ^1.11.11 -> found phpstan/phpstan[1.11.11, ..., 1.12.27] but it conflicts with your root composer.json require (2.1.17).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch from 005fa90 to a964ec9 Compare November 17, 2024 16:00
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch from a964ec9 to 22cbfba Compare November 29, 2024 00:36
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch from 22cbfba to 63d1159 Compare December 10, 2024 03:44
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch from 63d1159 to 59961d9 Compare December 17, 2024 18:43
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch 2 times, most recently from 23f20c7 to 475f05a Compare January 5, 2025 20:03
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch from 475f05a to 599ab2a Compare January 21, 2025 21:25
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch 3 times, most recently from a369106 to eab665b Compare February 13, 2025 16:00
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch from eab665b to a84a8c2 Compare February 19, 2025 19:16
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch 2 times, most recently from c77f27c to fe37e5d Compare March 9, 2025 14:00
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch 3 times, most recently from ff2dca5 to ec48088 Compare March 24, 2025 17:12
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch from ec48088 to aeee1b3 Compare April 16, 2025 16:58
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch 2 times, most recently from 0ed2be6 to 52b4869 Compare May 2, 2025 19:05
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch 2 times, most recently from 0a8f43f to 29b3574 Compare May 16, 2025 11:08
@renovaterenovate bot force-pushed the renovate/major-phpstan-packages branch from 29b3574 to 0d8daa3 Compare May 21, 2025 23:40
Sign up for free to join this conversation on . Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.