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 dependency phpstan/phpstan to v2 #437

Open
wants to merge 1 commit into
base: 2.6.x
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 Adoption Passing Confidence
phpstan/phpstan ^1.12.16 -> ^2.1.2 age adoption passing confidence

Release Notes

phpstan/phpstan (phpstan/phpstan)

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 is behind base branch, 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

Read more information about the use of Renovate Bot.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 11, 2024
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.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.1.2, found phpstan/phpstan[2.1.2] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - phpstan/extension-installer is locked to version 1.4.3 and an update of this package was not requested.
    - phpstan/extension-installer 1.4.3 requires phpstan/phpstan ^1.9.0 || ^2.0 -> found phpstan/phpstan[1.9.0, ..., 1.12.16, 2.0.0, ..., 2.1.2] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - phpstan/phpstan-mockery is locked to version 1.1.3 and an update of this package was not requested.
    - phpstan/phpstan-mockery 1.1.3 requires phpstan/phpstan ^1.12 -> found phpstan/phpstan[1.12.0, ..., 1.12.16] but it conflicts with your root composer.json require (^2.1.2).
  Problem 4
    - rector/rector is locked to version 1.2.10 and an update of this package was not requested.
    - rector/rector 1.2.10 requires phpstan/phpstan ^1.12.5 -> found phpstan/phpstan[1.12.5, ..., 1.12.16] but it conflicts with your root composer.json require (^2.1.2).

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/phpstan-phpstan-2.x branch 7 times, most recently from fecd79c to bfb9ccc Compare November 18, 2024 01:37
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 4 times, most recently from e7f9604 to b06b990 Compare November 24, 2024 17:22
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 6 times, most recently from 554b381 to e12fab0 Compare December 5, 2024 22:05
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 9 times, most recently from 825c17c to 4794b61 Compare December 12, 2024 03:34
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch from 4794b61 to 67cbfab Compare December 14, 2024 03:35
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 7 times, most recently from 7123368 to 79e6c7d Compare January 17, 2025 17:09
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 8 times, most recently from 23aab7c to 788a05a Compare January 24, 2025 18:00
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 13 times, most recently from 5c8e2fd to 409e553 Compare February 1, 2025 05:14
| datasource | package         | from    | to    |
| ---------- | --------------- | ------- | ----- |
| packagist  | phpstan/phpstan | 1.12.16 | 2.1.2 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch from 409e553 to 18369b9 Compare February 4, 2025 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant