Skip to content

chore(deps): update phpstan packages to v2 (major) #374

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: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 11, 2024

This PR contains the following updates:

Package Change Age Confidence
phpstan/phpstan ^1.10.11 -> ^2.0.0 age confidence
phpstan/phpstan-deprecation-rules ^1.1.3 -> ^2.0.0 age confidence
phpstan/phpstan-phpunit ^1.3.11 -> ^2.0.0 age confidence
phpstan/phpstan-strict-rules ^1.5.1 -> ^2.0.0 age confidence

Release Notes

phpstan/phpstan (phpstan/phpstan)

v2.1.19

Compare Source

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 🔧

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


Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates 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 enabled auto-merge (squash) November 11, 2024 11:03
Copy link
Contributor Author

renovate bot commented Nov 11, 2024

⚠️ 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: composer.lock
Command failed: composer update phpstan/phpstan:2.1.19 phpstan/phpstan-deprecation-rules:2.0.3 phpstan/phpstan-phpunit:2.0.7 phpstan/phpstan-strict-rules:2.0.6 --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.0.0, found phpstan/phpstan[2.0.0, ..., 2.1.19] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - ergebnis/composer-normalize is locked to version 2.41.0 and an update of this package was not requested.
    - ergebnis/composer-normalize 2.41.0 requires php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.10) does not satisfy that requirement.
  Problem 3
    - phpstan/extension-installer is locked to version 1.3.1 and an update of this package was not requested.
    - phpstan/extension-installer 1.3.1 requires phpstan/phpstan ^1.9.0 -> found phpstan/phpstan[1.9.0, ..., 1.12.28] but it conflicts with your root composer.json require (^2.0.0).
  Problem 4
    - Root composer.json requires phpstan/phpstan-deprecation-rules ^2.0.0 -> satisfiable by phpstan/phpstan-deprecation-rules[2.0.3].
    - phpstan/phpstan-deprecation-rules 2.0.3 requires phpstan/phpstan ^2.1.15 -> found phpstan/phpstan[2.1.15, ..., 2.1.19] but these were not loaded, likely because it conflicts with another require.
  Problem 5
    - Root composer.json requires phpstan/phpstan-phpunit ^2.0.0 -> satisfiable by phpstan/phpstan-phpunit[2.0.7].
    - phpstan/phpstan-phpunit 2.0.7 requires phpstan/phpstan ^2.1.18 -> found phpstan/phpstan[2.1.18, 2.1.19] but these were not loaded, likely because it conflicts with another require.
  Problem 6
    - Root composer.json requires phpstan/phpstan-strict-rules ^2.0.0 -> satisfiable by phpstan/phpstan-strict-rules[2.0.6].
    - phpstan/phpstan-strict-rules 2.0.6 requires phpstan/phpstan ^2.0.4 -> found phpstan/phpstan[2.0.4, ..., 2.1.19] but these were not loaded, likely because it conflicts with another require.
  Problem 7
    - pestphp/pest is locked to version v2.4.0 and an update of this package was not requested.
    - brianium/paratest v7.1.2 requires php ~8.1.0 || ~8.2.0 -> your php version (8.4.10) does not satisfy that requirement.
    - pestphp/pest v2.4.0 requires brianium/paratest ^7.1.2 -> satisfiable by brianium/paratest[v7.1.2].

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

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