cucumber / gherkin

A parser and compiler for the Gherkin language.
MIT License
160 stars 48 forks source link

chore(deps): update dependency phpunit/phpunit to v11 #224

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpunit/phpunit (source) ^10.5 -> ^11.0 age adoption passing confidence

Release Notes

sebastianbergmann/phpunit (phpunit/phpunit) ### [`v11.0.6`](https://togithub.com/sebastianbergmann/phpunit/releases/tag/11.0.6): PHPUnit 11.0.6 [Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.5...11.0.6) ##### Changed - [#​5727](https://togithub.com/sebastianbergmann/phpunit/pull/5727): Prevent duplicate call of `NamePrettifier::prettifyTestMethodName()` - [#​5739](https://togithub.com/sebastianbergmann/phpunit/pull/5739): Micro-optimize `NamePrettifier::prettifyTestMethodName()` - [#​5740](https://togithub.com/sebastianbergmann/phpunit/pull/5740): Micro-optimize `TestRunner::runTestWithTimeout()` - [#​5741](https://togithub.com/sebastianbergmann/phpunit/pull/5741): Save call to `Telemetry\System::snapshot()` - [#​5742](https://togithub.com/sebastianbergmann/phpunit/pull/5742): Prevent file IO when not strictly necessary - [#​5743](https://togithub.com/sebastianbergmann/phpunit/pull/5743): Prevent unnecessary `ExecutionOrderDependency::getTarget()` call - [#​5744](https://togithub.com/sebastianbergmann/phpunit/pull/5744): Simplify `NamePrettifier::prettifyTestMethodName()` ##### Fixed - [#​5351](https://togithub.com/sebastianbergmann/phpunit/issues/5351): Incorrect code coverage metadata does not prevent code coverage data from being collected - [#​5729](https://togithub.com/sebastianbergmann/phpunit/pull/5729): `assertArrayIsIdenticalToArrayOnlyConsideringListOfKeys()` does not correctly handle array order - [#​5746](https://togithub.com/sebastianbergmann/phpunit/issues/5746): Using `-d` CLI option multiple times triggers warning *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.0/installation.html) ### [`v11.0.5`](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.4...11.0.5) [Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.4...11.0.5) ### [`v11.0.4`](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.3...11.0.4) [Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.3...11.0.4) ### [`v11.0.3`](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.2...11.0.3) [Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.2...11.0.3) ### [`v11.0.2`](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.1...11.0.2) [Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.1...11.0.2) ### [`v11.0.1`](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.0...11.0.1) [Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/11.0.0...11.0.1) ### [`v11.0.0`](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.10...11.0.0) [Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.13...11.0.0)

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

olleolleolle commented 4 months ago

test-php (8.1, high-deps & low-deps) said:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires phpunit/phpunit ^11.0 -> satisfiable by phpunit/phpunit[11.0.0, 11.0.1, 11.0.2, 11.0.3].
    - phpunit/phpunit[11.0.0, ..., 11.0.3] require php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.

PHP Version 8.2.0 was released on 08 Dec 2022.


I read on https://phpunit.de/announcements/phpunit-11.html

Need more reasons to upgrade your PHP?

The only actively supported versions of PHP as of February 2, 2024 are PHP 8.2 and PHP 8.3.

olleolleolle commented 4 months ago

Cool, now the PHP version issue is solved, and other packages need an update.

  Problem 1
    - phpunit/php-code-coverage 11.0.0 requires nikic/php-parser ^5.0 -> found nikic/php-parser[v5.0.0, v5.0.1] but it conflicts with your root composer.json require (^4.14).
    - phpunit/phpunit[11.0.0, ..., 11.0.3] require phpunit/php-code-coverage ^11.0 -> satisfiable by phpunit/php-code-coverage[11.0.0].
    - Root composer.json requires phpunit/phpunit ^11.0 -> satisfiable by phpunit/phpunit[11.0.0, 11.0.1, 11.0.2, 11.0.3].

EDIT: 2024-03-19

  Problem 1
    - Root composer.json requires phpunit/phpunit ^11.0 -> satisfiable by phpunit/phpunit[11.0.0, ..., 11.0.6].
    - vimeo/psalm 5.23.1 requires nikic/php-parser ^4.16 -> satisfiable by nikic/php-parser[v4.16.0, ..., v4.19.1].
    - You can only install one version of a package, so only one of these can be installed: nikic/php-parser[v4.16.0, ..., v4.19.1, v5.0.0, v5.0.1, v5.0.2].
    - phpunit/php-code-coverage[11.0.0, ..., 11.0.3] require nikic/php-parser ^5.0 -> satisfiable by nikic/php-parser[v5.0.0, v5.0.1, v5.0.2].
    - vimeo/psalm 5.23.1 conflicts with nikic/php-parser v4.17.0.
    - phpunit/phpunit[11.0.0, ..., 11.0.6] require phpunit/php-code-coverage ^11.0 -> satisfiable by phpunit/php-code-coverage[11.0.0, 11.0.1, 11.0.2, 11.0.3].
    - Root composer.json requires vimeo/psalm 5.23.1 -> satisfiable by vimeo/psalm[5.23.1].

Error: Your requirements could not be resolved to an installable set of packages.
renovate[bot] commented 2 months ago

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.

mpkorstanje commented 2 months ago

Got the solution. From https://github.com/cucumber/messages/pull/200