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 #110

Open
wants to merge 1 commit into
base: 1.13.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.47 -> ^2.1.1 age adoption passing confidence

Release Notes

phpstan/phpstan (phpstan/phpstan)

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 about the use of Renovate Bot within ocramius/* projects.

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: composer.lock
Command failed: composer update phpstan/phpstan:2.1.1 --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.1, found phpstan/phpstan[2.1.1, 2.1.x-dev] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - phpstan/phpstan-phpunit is locked to version 1.4.2 and an update of this package was not requested.
    - phpstan/phpstan-phpunit 1.4.2 requires phpstan/phpstan ^1.12 -> found phpstan/phpstan[1.12.0, ..., 1.12.x-dev] but it conflicts with your root composer.json require (^2.1.1).
  Problem 3
    - phpstan/phpstan-strict-rules is locked to version 1.6.1 and an update of this package was not requested.
    - phpstan/phpstan-strict-rules 1.6.1 requires phpstan/phpstan ^1.12.4 -> found phpstan/phpstan[1.12.4, ..., 1.12.x-dev] but it conflicts with your root composer.json require (^2.1.1).

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

@renovate renovate bot added the renovate label Nov 12, 2024
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch from e900fdb to 5d1e629 Compare November 12, 2024 14:26
@renovate renovate bot changed the base branch from 1.12.x to 1.13.x November 12, 2024 17:52
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 5 times, most recently from 567ea2a to 9e1551f Compare November 18, 2024 03:08
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 3 times, most recently from f807b51 to d48b136 Compare November 29, 2024 04:54
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 3 times, most recently from 2515965 to 9a4504e Compare December 12, 2024 03:53
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 4 times, most recently from 4702a52 to d5e8d12 Compare December 22, 2024 03:21
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch 3 times, most recently from 7921b84 to 08571c2 Compare January 1, 2025 03:42
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch from 08571c2 to 1ba02e4 Compare January 5, 2025 19:59
| datasource | package         | from    | to    |
| ---------- | --------------- | ------- | ----- |
| packagist  | phpstan/phpstan | 1.12.15 | 2.1.1 |
@renovate renovate bot force-pushed the renovate/phpstan-phpstan-2.x branch from 1ba02e4 to b719b6c Compare January 6, 2025 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants