Skip to content
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

Update PHPStan packages to v2 (major) #546

Open
wants to merge 2 commits into
base: 2.7.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpstan/phpstan ^1.10.14 -> ^2.0.0 age adoption passing confidence
phpstan/phpstan-phpunit ^1.3.11 -> ^2.0.0 age adoption passing confidence
phpstan/phpstan-strict-rules ^1.5.1 -> ^2.0.0 age adoption passing confidence
phpstan/phpstan-symfony ^1.3.1 -> ^2.0.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

phpstan/phpstan (phpstan/phpstan)

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 🔍


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

Copy link
Contributor Author

renovate bot commented Nov 12, 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: vendor-bin/tools/composer.lock
Command failed: composer update phpstan/phpstan:2.1.3 phpstan/phpstan-phpunit:2.0.4 phpstan/phpstan-strict-rules:2.0.3 phpstan/phpstan-symfony:2.0.2 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
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.3] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - maglnet/composer-require-checker is locked to version 4.8.0 and an update of this package was not requested.
    - maglnet/composer-require-checker 4.8.0 requires php ~8.2.0 || ~8.3.0 -> your php version (8.4.3) 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.17] but it conflicts with your root composer.json require (^2.0.0).
  Problem 4
    - Root composer.json requires phpstan/phpstan-phpunit ^2.0.0 -> satisfiable by phpstan/phpstan-phpunit[2.0.4].
    - phpstan/phpstan-phpunit 2.0.4 requires phpstan/phpstan ^2.0.4 -> found phpstan/phpstan[2.0.4, ..., 2.1.3] but these were not loaded, likely because it conflicts with another require.
  Problem 5
    - Root composer.json requires phpstan/phpstan-strict-rules ^2.0.0 -> satisfiable by phpstan/phpstan-strict-rules[2.0.3].
    - phpstan/phpstan-strict-rules 2.0.3 requires phpstan/phpstan ^2.0.4 -> found phpstan/phpstan[2.0.4, ..., 2.1.3] but these were not loaded, likely because it conflicts with another require.
  Problem 6
    - Root composer.json requires phpstan/phpstan-symfony ^2.0.0 -> satisfiable by phpstan/phpstan-symfony[2.0.2].
    - phpstan/phpstan-symfony 2.0.2 requires phpstan/phpstan ^2.1.2 -> found phpstan/phpstan[2.1.2, 2.1.3] but these were not loaded, likely because it conflicts with another require.
  Problem 7
    - vimeo/psalm is locked to version 5.21.1 and an update of this package was not requested.
    - vimeo/psalm 5.21.1 requires php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.3) does not satisfy that requirement.
  Problem 8
    - psalm/plugin-symfony is locked to version v5.1.0 and an update of this package was not requested.
    - psalm/plugin-symfony v5.1.0 requires vimeo/psalm ^5.1 -> satisfiable by vimeo/psalm[5.21.1].
    - vimeo/psalm 5.21.1 requires php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.3) does not satisfy that requirement.

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

@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from 83c0fbc to 7df8865 Compare February 7, 2025 18:57
@renovate renovate bot changed the base branch from 2.6.x to 2.7.x February 7, 2025 18:57
Copy link
Contributor Author

renovate bot commented Feb 8, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@core23 core23 force-pushed the renovate/major-phpstan-packages branch from 6fb15bd to 6624dc2 Compare February 8, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant