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) #653

Merged
merged 3 commits into from
Dec 4, 2024

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.9 -> ^2.0 age adoption passing confidence
phpstan/phpstan-deprecation-rules ^1.1 -> ^2.0 age adoption passing confidence
phpstan/phpstan-phpunit ^1.1 -> ^2.0 age adoption passing confidence
phpstan/phpstan-strict-rules ^1.2 -> ^2.0 age adoption passing confidence
phpstan/phpstan-symfony ^1.2 -> ^2.0 age adoption passing confidence
phpstan/phpstan-webmozart-assert ^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-deprecation-rules (phpstan/phpstan-deprecation-rules)

v2.0.1

Compare Source

  • 1cc1259 - Bleeding edge - CallWithDeprecatedIniOptionRule

v2.0.0

Compare Source

  • 81833b5 - Removed always true PHP_VERSION_ID condition
  • f4a969d - Merge branch '1.2.x' into 2.0.x
  • 0ccccb1 - selectSingle() is being deprecated
  • 392bbe7 - Updates for PHPStan 2.0 changes
  • 89572d5 - Merge branch '1.2.x' into 2.0.x
  • 398e2e2 - Merge remote-tracking branch 'origin/1.2.x' into 2.0.x
  • 4590cf6 - Update build-cs
  • 681b2db - Stop testing PHP 7.2 and 7.3
  • 0e1d78a - Open 2.0.x
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
phpstan/phpstan-webmozart-assert (phpstan/phpstan-webmozart-assert)

v2.0.0

Compare Source


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 12, 2024
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.3 phpstan/phpstan-deprecation-rules:2.0.1 phpstan/phpstan-phpunit:2.0.1 phpstan/phpstan-strict-rules:2.0.0 phpstan/phpstan-symfony:2.0.0 phpstan/phpstan-webmozart-assert: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-deprecation-rules ^2.0 -> satisfiable by phpstan/phpstan-deprecation-rules[2.0.1].
    - phpstan/phpstan-deprecation-rules 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-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 5
    - 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 6
    - 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 7
    - Root composer.json requires phpstan/phpstan-webmozart-assert ^2.0 -> satisfiable by phpstan/phpstan-webmozart-assert[2.0.0].
    - phpstan/phpstan-webmozart-assert 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 8
    - 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 6057bba to ca883dd Compare November 18, 2024 05:01
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 6 times, most recently from 57c77d4 to 3d07875 Compare November 29, 2024 03:49
| datasource | package                           | from    | to    |
| ---------- | --------------------------------- | ------- | ----- |
| packagist  | phpstan/phpstan                   | 1.12.12 | 2.0.3 |
| packagist  | phpstan/phpstan-deprecation-rules | 1.2.1   | 2.0.1 |
| 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 |
| packagist  | phpstan/phpstan-webmozart-assert  | 1.2.11  | 2.0.0 |
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from 3d07875 to ee34015 Compare December 2, 2024 03:12
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.

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 12158266078

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.526%

Totals Coverage Status
Change from base Build 12110510944: 0.0%
Covered Lines: 2223
Relevant Lines: 2303

💛 - Coveralls

@eliashaeussler eliashaeussler merged commit 0b30938 into main Dec 4, 2024
63 checks passed
@eliashaeussler eliashaeussler deleted the renovate/major-phpstan-packages branch December 4, 2024 11:00
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