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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 22, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpstan/phpstan ^1.10 -> ^1.10 || ^2.0 age adoption passing confidence
phpstan/phpstan-phpunit ^1.3 -> ^1.3 || ^2.0 age adoption passing confidence
phpstan/phpstan-symfony ^1.3 -> ^1.3 || ^2.0 age adoption passing confidence

Release Notes

phpstan/phpstan (phpstan/phpstan)

v2.1.2

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

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 🔍

v1.12.16

Compare Source

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

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

v2.0.3

Compare Source

  • e32ac65 - Support assertNotEquals in AssertEqualsIsDiscouragedRule

v2.0.2

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.

| datasource | package                 | from    | to    |
| ---------- | ----------------------- | ------- | ----- |
| packagist  | phpstan/phpstan         | 1.12.15 | 2.1.2 |
| packagist  | phpstan/phpstan-phpunit | 1.4.2   | 2.0.3 |
| packagist  | phpstan/phpstan-symfony | 1.4.13  | 2.0.2 |
@renovate renovate bot added the dependencies Updates project dependencies label Jan 22, 2025
Copy link
Contributor Author

renovate bot commented Jan 22, 2025

⚠️ 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.2 phpstan/phpstan-phpunit:2.0.3 phpstan/phpstan-symfony:2.0.2 --with-dependencies --ignore-platform-req ext-intl --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 ^1.10 || ^2.0, found phpstan/phpstan[1.10.0, ..., 1.12.16, 2.0.0, ..., 2.1.2] 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.16, 2.0.0, ..., 2.1.2] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - Root composer.json requires phpstan/phpstan-phpunit ^1.3 || ^2.0 -> satisfiable by phpstan/phpstan-phpunit[2.0.3].
    - phpstan/phpstan-phpunit 2.0.3 requires phpstan/phpstan ^2.0.4 -> found phpstan/phpstan[2.0.4, 2.1.0, 2.1.1, 2.1.2] but these were not loaded, likely because it conflicts with another require.
  Problem 4
    - Root composer.json requires phpstan/phpstan-symfony ^1.3 || ^2.0 -> satisfiable by phpstan/phpstan-symfony[2.0.2].
    - phpstan/phpstan-symfony 2.0.2 requires phpstan/phpstan ^2.1.2 -> found phpstan/phpstan[2.1.2] but these were not loaded, likely because it conflicts with another require.
  Problem 5
    - saschaegerer/phpstan-typo3 is locked to version 1.10.2 and an update of this package was not requested.
    - saschaegerer/phpstan-typo3 1.10.2 requires phpstan/phpstan ^1.10.9 -> found phpstan/phpstan[1.10.9, ..., 1.12.16] but it conflicts with your temporary update constraint (phpstan/phpstan:2.1.2).
  Problem 6
    - ssch/typo3-rector is locked to version v2.12.2 and an update of this package was not requested.
    - ssch/typo3-rector v2.12.2 requires phpstan/phpstan ^1.10.56 -> found phpstan/phpstan[1.10.56, ..., 1.12.16] but it conflicts with your temporary update constraint (phpstan/phpstan:2.1.2).

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

Copy link

codeclimate bot commented Jan 22, 2025

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

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

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

View more on Code Climate.

@coveralls
Copy link
Collaborator

coveralls commented Jan 22, 2025

Pull Request Test Coverage Report for Build 12903537982

Details

  • 0 of 8 (0.0%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage remained the same at 0.0%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Classes/Controller/MailqueueModuleController.php 0 4 0.0%
Classes/Traits/TranslatableTrait.php 0 4 0.0%
Files with Coverage Reduction New Missed Lines %
Classes/Controller/MailqueueModuleController.php 1 0.0%
Totals Coverage Status
Change from base Build 12858691984: 0.0%
Covered Lines: 0
Relevant Lines: 711

💛 - Coveralls

Copy link
Contributor Author

renovate bot commented Jan 22, 2025

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 codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 13391 lines exceeds the maximum allowed for the inline comments feature.

@eliashaeussler eliashaeussler force-pushed the renovate/major-phpstan-packages branch from 15cc610 to 7dc8621 Compare January 22, 2025 07:45
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 13403 lines exceeds the maximum allowed for the inline comments feature.

@eliashaeussler
Copy link
Member

Waiting for saschaegerer/phpstan-typo3 v2 to be released.

@eliashaeussler eliashaeussler marked this pull request as draft January 22, 2025 07:47
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