Skip to content

Update PHPStan packages (major) #49

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nunomaduro/larastan ^2.6 -> ^3.0 age adoption passing confidence
phpstan/phpstan ^1.10 -> ^2.0 age adoption passing confidence
phpstan/phpstan-deprecation-rules ^1.1 -> ^2.0 age adoption passing confidence
phpstan/phpstan-phpunit ^1.3 -> ^2.0 age adoption passing confidence
phpstan/phpstan-strict-rules ^1.5 -> ^2.0 age adoption passing confidence

Release Notes

larastan/larastan (nunomaduro/larastan)

v3.0.0: 3.0.0

Compare Source

Larastan 3.0 🥳

This release adds compability with PHPStan 2 and drops support for Laravel versions < 11

Please make sure you read the both PHPStan's and Larastan's upgrade guides!

Notable changes:

  • Added support for PHPStan 2
  • Dropped support for Laravel versions <11
  • Dropped support for automatically adding generic return types for relations. Read the upgrade guide for more info.
  • Removed some PHPStan config options. If you want the same behavior as before, you can add them back yourselves.
  • Made some rules enabled by default.

v2.9.11: 2.9.11

Compare Source

What's Changed

Fixed
Internal

New Contributors

Full Changelog: larastan/larastan@v2.9.10...v2.9.11

v2.9.10: 2.9.10

Compare Source

What's Changed

Added
Fixed

New Contributors

Full Changelog: larastan/larastan@v2.9.9...v2.9.10

v2.9.9

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v2.9.8...v2.9.9

v2.9.8

Compare Source

What's Changed

Added

Fixed

New Contributors

Full Changelog: larastan/larastan@v2.9.7...v2.9.8

v2.9.7

Compare Source

What's Changed

Added

Fixed

Internal

New Contributors

Full Changelog: larastan/larastan@v2.9.6...v2.9.7

v2.9.6

Compare Source

What's Changed

Added

[!IMPORTANT]
Make sure you read the upgrade guide on this topic to learn how you can correctly use this feature.

Fixed

Full Changelog: larastan/larastan@v2.9.5...v2.9.6

v2.9.5: 2.9.5

Compare Source

What's Changed

Fixed:

  • added sole method to Relation stubs - 56d7123
  • made ModelAppendsRule optional - 4834d0f

Maintanence

Full Changelog: larastan/larastan@v2.9.4...v2.9.5

v2.9.4

Compare Source

What's Changed

Added

Fixed

Internal

New Contributors

Full Changelog: larastan/larastan@v2.9.3...v2.9.4

v2.9.3

Compare Source

What's Changed

Fixed

Internal

Full Changelog: larastan/larastan@v2.9.2...v2.9.3

v2.9.2: 2.9.2

Compare Source

What's Changed

Added

Fixed

Internal

Full Changelog: larastan/larastan@v2.9.1...v2.9.2

v2.9.1: 2.9.1

Compare Source

What's Changed

Added

Fixed

Internal

New Contributors

Full Changelog: larastan/larastan@v2.9.0...v2.9.1

v2.9.0: 2.9.0

Compare Source

Added

Fixed

Internal

New Contributors

Full Changelog: larastan/larastan@v2.8.1...v2.9.0

v2.8.1

Compare Source

What's Changed?

Fixed
  • check for macros on query builder too: 6e2729e
  • use resolveName in ModelFindExtension: b7cc6a2

Full Changelog: larastan/larastan@v2.8.0...v2.8.1

v2.8.0

Compare Source

What's Changed

Added ✨
Fixed 🐛
Maintenance 🛠

New Contributors

Full Changelog: larastan/larastan@v2.7.0...v2.8.0

v2.7.0: 2.7.0

Compare Source

What's new

With this release Larastan is moved to the Larastan organization. Please refer to the upgrade guide for more details: Upgrade Guide.

v2.6.5: 2.6.5

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v2.6.4...v2.6.5

phpstan/phpstan (phpstan/phpstan)

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 🔧


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 nunomaduro/larastan:3.0.0 phpstan/phpstan:2.0.1 phpstan/phpstan-deprecation-rules:2.0.0 phpstan/phpstan-phpunit: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
Dependency laravel/framework (via replace of illuminate/console) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/container) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/contracts) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/database) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/http) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/pipeline) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/support) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json 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 2
    - ergebnis/composer-normalize is locked to version 2.36.0 and an update of this package was not requested.
    - ergebnis/composer-normalize 2.36.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.3.13) does not satisfy that requirement.
  Problem 3
    - Root composer.json requires nunomaduro/larastan ^3.0 -> satisfiable by nunomaduro/larastan[v3.0.0].
    - nunomaduro/larastan v3.0.0 requires illuminate/console ^11.15.0 -> found illuminate/console[v11.15.0, ..., v11.31.0] but these were not loaded, likely because it conflicts with another require.
  Problem 4
    - 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.10] but it conflicts with your root composer.json require (^2.0).
  Problem 5
    - Root composer.json requires phpstan/phpstan-deprecation-rules ^2.0 -> satisfiable by phpstan/phpstan-deprecation-rules[2.0.0].
    - phpstan/phpstan-deprecation-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 6
    - Root composer.json requires phpstan/phpstan-phpunit ^2.0 -> satisfiable by phpstan/phpstan-phpunit[2.0.1].
    - phpstan/phpstan-phpunit 2.0.1 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 7
    - Root composer.json requires phpstan/phpstan-strict-rules ^2.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 8
    - pestphp/pest is locked to version v2.6.2 and an update of this package was not requested.
    - brianium/paratest v7.1.4 requires php ~8.1.0 || ~8.2.0 -> your php version (8.3.13) does not satisfy that requirement.
    - pestphp/pest v2.6.2 requires brianium/paratest ^7.1.4 -> satisfiable by brianium/paratest[v7.1.4].

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

@renovate renovate bot enabled auto-merge (squash) November 12, 2024 05:31
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from a054f78 to 10ede88 Compare November 15, 2024 10:47
@renovate renovate bot changed the title Update PHPStan packages to v2 (major) Update PHPStan packages (major) Nov 15, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants