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 to v2 (major) #2811

Closed
wants to merge 1 commit into from
Closed

Update phpstan to v2 (major) #2811

wants to merge 1 commit into 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.12.10 -> 2.0.1 age adoption passing confidence
phpstan/phpstan-strict-rules 1.6.1 -> 2.0.0 age adoption passing confidence

Release Notes

phpstan/phpstan (phpstan/phpstan)

v2.0.1

Compare Source

v2.0.0

Compare Source

phpstan/phpstan-strict-rules (phpstan/phpstan-strict-rules)

v2.0.0

Compare Source

  • a4a6a08 - Remove dead test because of raised min-php version
  • b60bffc - Fix
  • 5d50bde - Fix
  • 0368403 - Fix
  • 1721dbf - Fix after PHPStan update
  • e208c93 - Fix after PHPStan update
  • 63956f7 - Moved illegalConstructorMethodCall rules from phpstan to phpstan-strict-rules
  • ad53bd9 - Remove options removed in PHPStan 2.0
  • 914b5e3 - Everything from Bleeding Edge enabled
  • 988fab9 - Add more separate rule toggles
  • e227ffd - Merge remote-tracking branch 'origin/1.6.x' into 2.0.x
  • 90006f2 - Merge branch '1.6.x' into 2.0.x
  • 1062d48 - Fix
  • 5eec39f - Set polluteScopeWithBlock to false
  • 8e2c8b0 - Fix deprecations
  • 1ccec91 - Remove unnecessary dependency on nikic/php-parser
  • f8092f9 - Update build-cs
  • f647999 - Stop testing PHP 7.2 and 7.3
  • f6fb84e - Open 2.0.x

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: composer.lock
Command failed: composer update phpstan/phpstan:2.0.1 phpstan/phpstan-strict-rules:2.0.0 --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.1 (exact version match: 2.0.1 or 2.0.1.0), found phpstan/phpstan[2.0.1] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - mglaman/phpstan-drupal is locked to version 1.3.1 and an update of this package was not requested.
    - mglaman/phpstan-drupal 1.3.1 requires phpstan/phpstan ^1.10.56 -> found phpstan/phpstan[1.10.56, ..., 1.12.10] but it conflicts with your root composer.json require (2.0.1).
  Problem 3
    - Root composer.json requires phpstan/phpstan-strict-rules 2.0.0 -> satisfiable by phpstan/phpstan-strict-rules[2.0.0].
    - phpstan/phpstan-strict-rules 2.0.0 requires phpstan/phpstan ^2.0 -> found phpstan/phpstan[2.0.0, 2.0.1] but these were not loaded, likely because it conflicts with another require.
  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.10] but it conflicts with your root composer.json require (2.0.1).
  Problem 5
    - palantirnet/drupal-rector is locked to version 0.20.3 and an update of this package was not requested.
    - palantirnet/drupal-rector 0.20.3 requires rector/rector ^1.0 -> satisfiable by rector/rector[1.2.10].
    - rector/rector 1.2.10 requires phpstan/phpstan ^1.12.5 -> found phpstan/phpstan[1.12.5, ..., 1.12.10] but it conflicts with your root composer.json require (2.0.1).

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 branch from e1fb193 to 4d4bfa7 Compare November 12, 2024 07:45
@jordisala1991 jordisala1991 deleted the renovate/major-phpstan branch November 12, 2024 09:25
Copy link
Contributor Author

renovate bot commented Nov 12, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

1 participant