PHPUnit v10 depends on sebastian/diff v5 which is not supported by Drupal core.

So, no way to install PHPUnit 10 on Drupal site.

Comments

Chi created an issue. See original summary.

chi’s picture

cilefen’s picture

Is this issue necessary as a separate effort to the meta issue?

chi’s picture

Status: Active » Closed (duplicate)
Related issues: +#3299678: Deprecate DiffEngine and replace with sebastian/diff

Technically this issue has nothing to do with PHPUnit. Drupal added "sebastian/diff" package to replace own diff engine. #3299678: Deprecate DiffEngine and replace with sebastian/diff.

However, given that PHPUnit 9 depends on "sebastian/diff" v4 there is no way to update this package before #3217904: [meta] Support PHPUnit 10 in Drupal 11 landed.
Closing as duplicate.