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

[TASK] Update PHPStan packages to v2 (major) #352

Merged
merged 4 commits into from
Dec 4, 2024

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.10 -> ^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
phpstan/phpstan-symfony ^1.2 -> ^2.0 age adoption passing confidence

Release Notes

phpstan/phpstan (phpstan/phpstan)

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 🔍

phpstan/phpstan-phpunit (phpstan/phpstan-phpunit)

v2.0.1

Compare Source

  • 4b6ad7f - Fix
  • bec49ea - Merge branch '1.4.x' into 2.0.x
  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x

v2.0.0

Compare Source

  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x
  • 146d9c3 - Test newer PHP versions
  • bb6bec0 - Pin build-cs
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
phpstan/phpstan-symfony (phpstan/phpstan-symfony)

v2.0.0

Compare Source

  • 1ef4dce - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 55ff7b7 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 282a698 - Fix after PHPStan update
  • bb3e671 - Cleanup skipCheckGenericClasses
  • 237165e - Fixes after PHPStan update
  • d1e08ac - Fixes after PHPStan update
  • a0572ad - Fixes after PHPStan update
  • 7e5633f - [BCB] Remove legacy config options with _ in their name
  • 4f260f0 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 3eb61a0 - Fixes after PHPStan update
  • bd9efb7 - Fixes after PHPStan update
  • 23a776d - Fixes after TypeSpecifier BC break
  • c88f96e - Drop dependency on nikic/php-parser
  • 90e8976 - Update build-cs
  • 2f736a6 - Stop testing PHP 7.2 and 7.3
  • 2c53b38 - Open 2.0.x

Configuration

📅 Schedule: Branch creation - "* * * * 1-5" (UTC), 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 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.

@renovate renovate bot added the dependencies Updates project dependencies 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.0.3 phpstan/phpstan-phpunit:2.0.1 phpstan/phpstan-strict-rules:2.0.0 phpstan/phpstan-symfony:2.0.0 --with-dependencies --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, found phpstan/phpstan[2.0.0, 2.0.1, 2.0.2, 2.0.3] 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.12, 2.0.0, 2.0.1, 2.0.2, 2.0.3] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - 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, 2.0.2, 2.0.3] but these were not loaded, likely because it conflicts with another require.
  Problem 4
    - 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, 2.0.2, 2.0.3] but these were not loaded, likely because it conflicts with another require.
  Problem 5
    - Root composer.json requires phpstan/phpstan-symfony ^2.0 -> satisfiable by phpstan/phpstan-symfony[2.0.0].
    - phpstan/phpstan-symfony 2.0.0 requires phpstan/phpstan ^2.0 -> found phpstan/phpstan[2.0.0, 2.0.1, 2.0.2, 2.0.3] but these were not loaded, likely because it conflicts with another require.
  Problem 6
    - 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.12] but it conflicts with your root composer.json require (^2.0).

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 3 times, most recently from 995dc01 to cbea750 Compare November 18, 2024 03:49
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 4 times, most recently from b23e14b to 5d8d631 Compare December 2, 2024 03:23
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from 5d8d631 to ae51de0 Compare December 3, 2024 09:10
| datasource | package                      | from    | to    |
| ---------- | ---------------------------- | ------- | ----- |
| packagist  | phpstan/phpstan              | 1.12.12 | 2.0.3 |
| packagist  | phpstan/phpstan-phpunit      | 1.4.1   | 2.0.1 |
| packagist  | phpstan/phpstan-strict-rules | 1.6.1   | 2.0.0 |
| packagist  | phpstan/phpstan-symfony      | 1.4.12  | 2.0.0 |
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from ae51de0 to c01ae2a Compare December 3, 2024 12:27
Copy link
Contributor Author

renovate bot commented Dec 4, 2024

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.

Copy link

codeclimate bot commented Dec 4, 2024

Code Climate has analyzed commit a885f53 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 99.2% (0.0% change).

View more on Code Climate.

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 12158972804

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.005%) to 99.282%

Totals Coverage Status
Change from base Build 12136419427: 0.005%
Covered Lines: 415
Relevant Lines: 418

💛 - Coveralls

@eliashaeussler eliashaeussler merged commit 4acc46a into main Dec 4, 2024
15 checks passed
@eliashaeussler eliashaeussler deleted the renovate/major-phpstan-packages branch December 4, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Updates project dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants