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

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

Merged
merged 2 commits into from Apr 13, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 2, 2024

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: PHPUnit 11.0.6

Compare Source

Changed
  • #​5727: Prevent duplicate call of NamePrettifier::prettifyTestMethodName()
  • #​5739: Micro-optimize NamePrettifier::prettifyTestMethodName()
  • #​5740: Micro-optimize TestRunner::runTestWithTimeout()
  • #​5741: Save call to Telemetry\System::snapshot()
  • #​5742: Prevent file IO when not strictly necessary
  • #​5743: Prevent unnecessary ExecutionOrderDependency::getTarget() call
  • #​5744: Simplify NamePrettifier::prettifyTestMethodName()
Fixed
  • #​5351: Incorrect code coverage metadata does not prevent code coverage data from being collected
  • #​5729: assertArrayIsIdenticalToArrayOnlyConsideringListOfKeys() does not correctly handle array order
  • #​5746: Using -d CLI option multiple times triggers warning

How to install or update PHPUnit

v11.0.5

Compare Source

v11.0.4

Compare Source

v11.0.3

Compare Source

v11.0.2

Compare Source

v11.0.1

Compare Source

v11.0.0

Compare Source


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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch 4 times, most recently from 15004df to 7258263 Compare February 9, 2024 01:07
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch 4 times, most recently from 255d881 to a77cff1 Compare February 15, 2024 20:01
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch 5 times, most recently from 42f6c13 to f918ec8 Compare February 28, 2024 22:10
@olleolleolle
Copy link
Contributor

olleolleolle commented Feb 29, 2024

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.

@renovate renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch from f918ec8 to 1f74ff7 Compare February 29, 2024 11:37
@olleolleolle
Copy link
Contributor

olleolleolle commented Feb 29, 2024

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 renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch 4 times, most recently from 294d625 to 84e458f Compare March 7, 2024 01:41
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch 10 times, most recently from dd6eebe to a96c2a9 Compare March 14, 2024 17:52
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch 10 times, most recently from 207dd52 to cd1fc07 Compare March 23, 2024 21:27
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch 3 times, most recently from 56f3f68 to c95ac33 Compare April 1, 2024 11:21
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch 5 times, most recently from 741ff9d to 6c74a8c Compare April 9, 2024 13:50
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch 5 times, most recently from 9ddbc42 to ec46196 Compare April 12, 2024 01:23
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-11.x branch from ec46196 to 758d117 Compare April 13, 2024 14:19
Copy link
Contributor Author

renovate bot commented Apr 13, 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.

@mpkorstanje
Copy link
Contributor

Got the solution. From cucumber/messages#200

@mpkorstanje mpkorstanje merged commit 4f72d40 into main Apr 13, 2024
6 checks passed
@mpkorstanje mpkorstanje deleted the renovate/phpunit-phpunit-11.x branch April 13, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants