Problem/Motivation

PHPUnit 10 was released on Febryary 3, 2023. Drupal will need to make changes to support it in future release.

Symfony's PHPUnit bridge is and will not be compatible with PHPUnit 10, and will drop all deprecation tracking features in the future, https://github.com/symfony/symfony/issues/49069

Proposed resolution

There are a number of changes that Drupal will have to address to support PHPUnit 10.

The end of the game: #3417066: Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency

PHPUnit 9.6 deprecations issues: https://www.drupal.org/project/issues/search?issue_tags=PHPUnit%209.6

Tasks completed

Remaining tasks

  • Ability in Gitlab to run run different phpunit.xml.dist depending on the PHPUnit version being run. Allow testing the upgrade path for listeners and run both versions during the upgrade process.
  • Decision on test suite discovery

Follow ups

CommentFileSizeAuthor
#12 3217904-12.patch7.9 KBmondrake
#13 3217904-13.patch8.1 KBmondrake
#15 3217904-15.patch9.47 KBmondrake
#17 3219704-17.patch9.35 KBmondrake
#18 3219704-18.patch11.25 KBmondrake
#22 3217904-22.patch11.67 KBmondrake
#23 3217904-23.patch12.57 KBmondrake
#24 3217904-24.patch12.67 KBmondrake
#25 3217904-25.patch12.98 KBmondrake
#25 interdiff_24-25.txt1.02 KBmondrake
#26 3217904-26.patch13.04 KBmondrake
#26 interdiff_24-26.txt1.08 KBmondrake
#27 3217904-27.patch15.37 KBmondrake
#27 interdiff_26-27.txt4.26 KBmondrake
#28 3217904-28.patch21.99 KBmondrake
#28 interdiff_27-28.txt10.75 KBmondrake
#29 interdiff_28-29.txt1.34 KBmondrake
#29 3217904-29.patch22.21 KBmondrake
#30 interdiff_29-30.txt1.72 KBmondrake
#30 3217904-30.patch22.21 KBmondrake
#31 interdiff_30-31.txt1.73 KBmondrake
#31 3217904-31.patch22.22 KBmondrake
#33 3217904-33.patch22.95 KBmondrake
#33 interdiff_31-33.txt8.25 KBmondrake
#34 3217904-34.patch24.62 KBmondrake
#34 interdiff_33-34.txt4.69 KBmondrake
#35 3217904-35.patch29.02 KBmondrake
#35 interdiff_34-35.txt5.83 KBmondrake
#36 interdiff_35-36.txt5.86 KBmondrake
#36 3217904-36.patch29.2 KBmondrake
#37 3217904-37.patch27.2 KBmondrake
#41 3217904-41.patch27.06 KBmondrake
#42 3217904-42.patch27.05 KBmondrake
#43 3217904-43.patch27.2 KBmondrake
#45 3217904-45.patch27.2 KBmondrake
#46 3217904-46.patch28.06 KBmondrake
#49 3217904-49.patch31.8 KBmondrake
#50 3217904-50.patch31.81 KBmondrake
#51 3217904-51.patch31.24 KBmondrake
#52 3217904-52.patch30.81 KBmondrake
#54 3217904-54.patch30.41 KBmondrake
#94 3217904-94.patch50.57 KBmondrake
#98 3217904-98.patch51.05 KBmondrake

Issue fork drupal-3217904

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

longwave created an issue. See original summary.

mondrake’s picture

Thanks @longwave for creating this meta and doing all the housekeeping of the related issues.

mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
longwave’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

StatusFileSize
new7.9 KB

A very first patch trying to load PHPUnit 10 dev to see what breaks. All sort of tricks in here :)

mondrake’s picture

StatusFileSize
new8.1 KB
mondrake’s picture

First insights:

  • Listeners are gone, so for instance the deprecation bridge is gone too
  • --printer option for cli is gone, so the custom HTML output is gone too
  • Cannot composer require phpspec/prophecy-phpunit at the moment, too many constraint conflicts
mondrake’s picture

StatusFileSize
new9.47 KB

With an up-to-date phpunit.xml.dist

mondrake’s picture

Issue summary: View changes
mondrake’s picture

StatusFileSize
new9.35 KB
mondrake’s picture

StatusFileSize
new11.25 KB

MockBuilder::withConsecutive() method has been deprecated in PHPUnit 10.

mondrake’s picture

Issue summary: View changes
longwave’s picture

Presume we need to wait for https://github.com/sebastianbergmann/phpunit/issues/4702 before we can do anything about our HTML output printer.

mondrake’s picture

Title: [meta] Support PHPUnit 10 in Drupal 9 » [meta] Support PHPUnit 10 in Drupal 10
Version: 9.3.x-dev » 10.0.x-dev

Bumping to Drupal 10. Maybe in the future it will need backporting to D9, but D10 comes first.

mondrake’s picture

StatusFileSize
new11.67 KB

An update.

mondrake’s picture

StatusFileSize
new12.57 KB
mondrake’s picture

StatusFileSize
new12.67 KB

Reroll and some cleaning

mondrake’s picture

StatusFileSize
new12.98 KB
new1.02 KB
mondrake’s picture

StatusFileSize
new13.04 KB
new1.08 KB
mondrake’s picture

StatusFileSize
new15.37 KB
new4.26 KB
mondrake’s picture

StatusFileSize
new21.99 KB
new10.75 KB
mondrake’s picture

StatusFileSize
new1.34 KB
new22.21 KB
mondrake’s picture

StatusFileSize
new1.72 KB
new22.21 KB
mondrake’s picture

StatusFileSize
new1.73 KB
new22.22 KB
mondrake’s picture

#20 looks like it's not necessary, the new event system can be exploited already. #31 does that, implementing a logger that tracks HTML output and prints it out at the end of the test run, subscribing to TestRunner events. Not touching anything around deprecation listeners yet, I think we need to see what will Symfony PHPUnit-Bridge will do first.

mondrake’s picture

StatusFileSize
new22.95 KB
new8.25 KB

Some cleanup, introducing a singleton for the logger and making better use of the inners of DefaultResultPrinter for actual logging. Dropped the SimpletestUIPrinter logic since we no longer need to convert links to href tags for use in Simpletest UI.

mondrake’s picture

StatusFileSize
new24.62 KB
new4.69 KB

More work around HtmlOutputLogger.

mondrake’s picture

StatusFileSize
new29.02 KB
new5.83 KB

PHPUnit's new event system is really cool. I started implementing also a singleton for checking Drupal standards - this replaces DrupalComponentTestListenerTrait for instance.

mondrake’s picture

StatusFileSize
new5.86 KB
new29.2 KB
mondrake’s picture

Related issues: +#3254723: Remove SimpletestUiPrinter
StatusFileSize
new27.2 KB
xjm’s picture

mondrake’s picture

Issue summary: View changes

Adding the below to the IS:

Upstream, https://github.com/symfony/symfony/issues/45223 and https://github.com/symfony/symfony/pull/45226 would potentially allow skipping Drupal's implementation of DeprecationListener that allows silencing deprecations.

Allowing DrupalCI to execute PHPUnit against different phpunit.xml.dist, depending on the PHPUnit version being run, would allow minimizing the warning messages sent out when, for instance, PHPUnit 10 finds a listener section that is a must have in PHPUnit 9. For the moment it's just noise-avoidance, but who knows in the future.

mondrake’s picture

Still unclear what

Obviously, wait for PHPUnit 10 to be a thing

means from a timeline perspective.

https://www.kiratas.com/unit-testing-framework-phpunit-10-requires-versi...

Anyway, Symfony's PHPUnit-Bridge will also have to be adjusted before we can tackle anything substantial here.

mondrake’s picture

StatusFileSize
new27.06 KB
mondrake’s picture

StatusFileSize
new27.05 KB
mondrake’s picture

StatusFileSize
new27.2 KB
mondrake’s picture

mondrake’s picture

StatusFileSize
new27.2 KB
mondrake’s picture

StatusFileSize
new28.06 KB
mondrake’s picture

NEW!

PHPUnit\Framework\TestCase::addWarning() was made final so we can not override it any longer in Drupal\Tests\Traits\ PhpUnitWarnings.

mondrake’s picture

Also,

Fatal error: Cannot override final method PHPUnit\Framework\TestCase::expectDeprecation() in /var/www/html/vendor/symfony/phpunit-bridge/Legacy/ExpectDeprecationTraitForV8_4.php on line 22

means that Symfony's PHPUnitBridge must be adjusted in order to manage deprecations.

mondrake’s picture

StatusFileSize
new31.8 KB
mondrake’s picture

StatusFileSize
new31.81 KB

PHPUnit\TextUI\DefaultResultPrinter is also removed so we need a new solution for the HtmlOutputLogger.

mondrake’s picture

StatusFileSize
new31.24 KB
mondrake’s picture

StatusFileSize
new30.81 KB
mondrake’s picture

Issue summary: View changes
mondrake’s picture

StatusFileSize
new30.41 KB
xjm’s picture

Issue tags: +Drupal 10 beta blocker

 

longwave’s picture

There is no release date yet for PHPUnit 10, but the original end of life date for PHPUnit 9 has passed, so we are a bit stuck here: https://github.com/sebastianbergmann/phpunit/issues/4718

mondrake’s picture

Why a blocker? PHPUnit 9 currently tests fine on PHP 8.2, https://github.com/sebastianbergmann/phpunit/actions/runs/2523925481, I doubt it will drop its support when PHPUnit 10 will be released (unknown timeline ATM, see #56 and #40).

Also - a release of PHPUnit 10 will NOT be sufficient - we will have to wait for Symfony's PHPUnit-Bridge to adjust to PHPUnit 10 (whatever it will mean, I cannot find prep issues upstream) before we can tackle Drupal's own stuff.

xjm’s picture

This is basically a "beta blocker until it's not" -- the PHPUnit 10 milestone currently reports 90% complete. I check it once every couple of weeks. :) So we should continue to try to solve PHPUnit 10 compatibility problems in D10 to the best of our ability and support/require it if it's ready in time.

And if it's not, well, we tried. :)

Just to be clear, we won't delay D10 if PHPUnit 10 still is not available at all by the scheduled window and if other requirements are complete -- but it's not quite in the same category as the various "should-have" issues, because those can be deferred to D11 more gracefully than PHPUnit. It almost needs its own special tag, but then no one would find it to monitor it. ;)

mondrake’s picture

Clear. Thanks @xjm.

mondrake’s picture

Changed to MR workflow and trying to re-enable HTML debug logger.

mondrake’s picture

mondrake’s picture

rebased

xjm’s picture

Title: [meta] Support PHPUnit 10 in Drupal 10 » [meta] Address PHPUnit 9 deprecations in Drupal 10 for forward-compatibility with PHPUnit 10

 

xjm’s picture

mondrake’s picture

Issue tags: +PHPUnit 9.6
xjm’s picture

longwave’s picture

https://phpunit.de/supported-versions.html has been quietly updated to note that PHPUnit 10 will be released in February 2023, but PHPUnit 9 does not have an EOL date yet.

xjm’s picture

mondrake’s picture

Symfony have started the discussion on how to adjust the PHPUnit-Bridge package for PHPUnit 10, https://github.com/symfony/symfony/issues/49069.

mondrake’s picture

mondrake’s picture

Issue summary: View changes

Updated IS.

gábor hojtsy’s picture

Issue summary: View changes

PHPUnit 10 will be released on February 3, 2023, in two days as per https://thephpcc.social/@sebastian/109788385318681908

Updated issue summary with this info.

Hat tip to @larowlan for the info.

voleger’s picture

Link to changelog

longwave’s picture

We need to wait for Symfony and Prophecy to catch up first, we can't really move forward on this until they are compatible too.

mondrake’s picture

Concurrently with PHPUnit 10, PHPUnit 9.6 will be released, too. That release will deprecate quite a number of things that we also need to work on before we can tackle PHPUnit 10: https://www.drupal.org/project/issues/search?issue_tags=PHPUnit%209.6

mondrake’s picture

Issue summary: View changes
mondrake’s picture

PHPUnit 10 is out, https://phpunit.de/announcements/phpunit-10.html

An annoucement worth reading.

longwave’s picture

Interesting indeed, thanks for linking that. Given that PHPUnit 9's end of life has yet to be determined (but the blog post implies it will be longer than the end of bugfix support in 2024) and that we plan to release Drupal 11 also perhaps in 2024, we can consider staying on PHPUnit 9 in the Drupal 10 cycle while clearing the way to upgrade to PHPUnit 10 for Drupal 11.

In the meantime, we can still upgrade to PHPUnit 9.6: #3338907: Update to PHPUnit 9.6.7

larowlan’s picture

Fair bit going on in that post, thanks for sharing.
.
We're going to need to wait for prophecy and the symfony bridge to have support too

Targeting D11 sounds like a reasonable plan

mondrake’s picture

If PHPUnit release schedule goes back to yearly as it was in the past, https://github.com/sebastianbergmann/phpunit/milestones, PHPUnit will be on its 11 release by the time D11 ships. And PHPUnit 10 will likely be EOL in Feb 2025, while D11 will be still on. Combined with PHP evolution itself, PHPUnit 10 may become obsolete during D11 lifecycle. Fun.

mondrake’s picture

Title: [meta] Address PHPUnit 9 deprecations in Drupal 10 for forward-compatibility with PHPUnit 10 » [meta] Support PHPUnit 11 in Drupal 11
Issue tags: +PHPUnit 11

I feel like the issue title is no longer representing what's being discussed here, I suggest to revert to an updated version of the prior one.

mondrake’s picture

Issue summary: View changes
longwave’s picture

Title: [meta] Support PHPUnit 11 in Drupal 11 » [meta] Support PHPUnit 10 in Drupal 10

After discussing with @mondrake we agreed to rename this back for the time being, as we want to try supporting PHPUnit 10 in Drupal 10 first if possible, then get ready for PHPUnit 11 later.

mondrake’s picture

rebase

mondrake’s picture

Issue summary: View changes

phpspec/prophecy-phpunit 2.1.0, together with phpspec/prophecy 1.18.0, are meant to be PHPUnit 10 compatible

mondrake’s picture

The MR now runs all the test in PHPUnit 10, so we can track impact when the related items fix things.

mondrake’s picture

Version: 10.0.x-dev » 11.x-dev
mondrake’s picture

Some fixes after #3362083: '@requires externalCommand' is not parsed in PHPUnit 10.

Prophecy have PHPUnit 10 compatibility fixes in, but have not released yet.

Symfony PHPUnit-Bridge is rather silent, I have opened a PR https://github.com/symfony/symfony/pull/50371, its diff is used to get the MR here going. But that is mostly experimental.

mondrake’s picture

xjm’s picture

Fixing attribution.

mondrake’s picture

StatusFileSize
new50.57 KB
neclimdul’s picture

Don't see any discussion on it but our test suite registration is no longer supported in PHPUnit 10.

https://github.com/sebastianbergmann/phpunit/commit/36354a9cdc69ecabd20a...

Might be a really cool solution in the current patch I'm missing though.

mondrake’s picture

#95 since there's absolutely nothing in the current patch that thoughtfully addresses test suites, I started looking for miracles... :)

But ended up, in my understanding, finding that we are not 'using' test suites at all even now. AFAICS. run-tests.sh builds list of individual tests to be run in parallel, but does not use test suites (in PHPUnit's sense) for that, rather our own-baked definition of test groups via matching test classes namespaces. It does so in TestDiscovery::getPhpunitTestSuite().

Since core is only using run-tests.sh, I wonder what are we defining TestSuites for? Just for those that want to use the suite filtering when running PHPUnit via its own CLI? If that's the case then I think we should drop this - at least start deprecating them now.

mondrake’s picture

#3402444: Deprecate Test Suites, no longer available in PHPUnit 10 shows IMHO that test suites are just cruft currently.

mondrake’s picture

StatusFileSize
new51.05 KB
cmlara’s picture

Re: #98 failures.

It looks like #3387737: Split PHP image into php(cli/apache) and yarn(node/nightwatch) removed the patch command from images.

neclimdul’s picture

Issue summary: View changes

Spent a bunch of time digging into the discovery process related to the test suites and that sent me down a lot of rabbit holes. The test suite part I did not enjoy but it ended with me having a mostly working unit test suite so that's great! Of course mondrake was ahead of me on basically all of those changes.

Tried to capture all of my findings and the various work happening in an updated IS.

Will capture some issues for some of the things I found that I think can be addressed in the short term.

mondrake’s picture

Great writeup, thanks @neclimdul!

mondrake’s picture

Issue summary: View changes
mondrake’s picture

Hide patch file, try to get this into the MR

neclimdul’s picture

Found another interesting issue exposed by the PHPUnit 10 updates.

#3406024: DependencySerializationTrait depends on removed __PHPUNIT_BOOTSTRAP global

The correct fix probably needs some architecture discussion because it would require changes to DependencySerializationTrait which affects almost everything.

mondrake’s picture

Issue summary: View changes

phpspec/prophecy-phpunit 2.1.0 is now in

mondrake’s picture

Issue summary: View changes
mondrake’s picture

Opened #3417066: Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency to discuss removal of Symfony's PHPUnit bridge in case it is not getting compatible with PHPUnit 10 in time for Drupal 11 release.

mondrake’s picture

Issue summary: View changes
gábor hojtsy’s picture

Amazing work here :) It would be great to clean up the issue summary to current priorities and remaining work. I am not sure I can tell in each point whether its done or not. For example the Symfony PHPUnit bridge question is handled in #3417066: Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency. This seems to be the biggest backend dependency update for Drupal 11 apart of Symfony 7 and it would be great to have this in place sooner than later so that contrib modules can update to and test with the new version.

Also as per the comments above PHPUnit 11 is about to be released later this week on Friday. As per https://phpunit.de/supported-versions.html that also means end of bugfix support for PHPUnit 9 that we are using now. While PHPUnit 9 and 10 EOLs have not been determined yet (again as per that page), people argued above that bugfix support for PHPUnit 10 will also end in 2025 February, early into the Drupal 11 release cycle. So if at all possible, we should get to PHPUnit 11 in time for Drupal 11 :) (not in this issue, but this is a prerequisite).

Is there any way the committer team can better help? Is framework manager review needed on certain areas? Should the issue be broken out to (further) smaller changes?

longwave’s picture

Issue summary: View changes

Updated the withConsecutive() options.

mondrake’s picture

Issue summary: View changes
gábor hojtsy’s picture

Issue summary: View changes
Issue tags: -PHPUnit 11
Related issues: +#3418267: Support PHPUnit 11 in Drupal 11

Opened #3418267: Support PHPUnit 11 in Drupal 11 as postponed and put it in the issue summary as a followup :) That allows us to track it on #3267879: [meta] Add compatibility for the latest major and minor versions of dependencies to Drupal 10 too.

mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

Updated the IS with the completed tasks.

mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

Issue summary: View changes
mondrake’s picture

mondrake’s picture

Title: [meta] Support PHPUnit 10 in Drupal 10 » [meta] Support PHPUnit 10 in Drupal 11

Let’s be honest.

gábor hojtsy’s picture

@mondrake Per https://www.drupal.org/blog/drupal-10-will-be-supported-until-the-releas... there will still be Drupal 10.3, 10.4 and 10.5, and PHPUnit 10/11 support is something that would be backported if the extent of the allowed changes allow it, because it supports contributed projects to be compatible with multiple Drupal major version. Is it not possible to target this at Drupal 10 even in that light? Especially of question I think is Drupal 10.3 which will be in beta in a little over 3 weeks from now per https://www.drupal.org/about/core/policies/core-release-cycles/schedule#...

mondrake’s picture

Re #123 honestly, I have doubts it would be possible to backport, given the amplitude of the changes from PHPUnit 9 to PHPUnit 10.

I still see at risk to close all the open issues by D11, frankly. Then, another significant effort will be needed for supporting PHPUnit 11: https://github.com/sebastianbergmann/phpunit/milestone/46?closed=1. And we will be late at that again, with PHPUnit 12 https://github.com/sebastianbergmann/phpunit/milestone/52 being 3 to 6 months away at that point.

PHPUnit major releases timeline, being yearly, is unforgiving for frameworks like Drupal that is much more focused on keeping BC, unfortunately. It's a philosophical question, at the end.

Eager to read others' point of view here.

catch’s picture

I think the most important thing is whether modules can write phpunit 10 ( and eventually 11) compatible tests against Drupal 10, so that they don't need to maintain two branches. The actual version of phpunit that those tests run against is secondary.

Beyond that, it would be nice if we could widen Drupal 10's phpunit constraint to allow phpunit 10, but seems like that will be useless if we have a hard requirement on symfony phpunit bridge. That then brings up whether we want to do some Drupal 10 surgery to make symfony phpunit bridge an optional requirement (fork it? put it behind a metapackage so it's skipped when phpunit 11 is installed?), I don't think it's worth spending time on that until we know what we're doing in 11.x fully, since that'll determine exactly how much gap needs to be bridged.

Actually updating to phpunit 10 and dropping phpunit 9 support seems out of the question due to the scale of changes we're having to do in core.

So far, nearly all the changes we've been committing to core for phpunit 10 have been to stop using deprecated features, and we've been able to backport those to Drupal 10 without any issues, and there is nothing stopping contrib modules from making those same changes. But error and deprecation handling are still @todo.

The big issue with phpunit 11, is will it be dropping support for phpunit 9 features that were only added in phpunit 10? If so, then Drupal 10 will be stuck unless we try to add forwards compatibility shims, this is also too far beyond where we currently are to worry about now I think.

Then the last issue is whether phpunit 9 is going to support the php versions that Drupal 10 is going to need to support, that's also going to be a pain if it doesn't, although it's unlikely to be the only dependency with that problem.

longwave’s picture

> if we could widen Drupal 10's phpunit constraint to allow phpunit 10

I just don't think this will be feasible. The scope of the rewrites in PHPUnit 10 is just too large to try and support both at once. However, most tests should work just fine in both versions, unless they use some deprecated features - but even in those cases the fixes are backportable if needed.

> The big issue with phpunit 11, is will it be dropping support for phpunit 9 features that were only added in phpunit 10?

PHPUnit 11.0 is already out. PHPUnit works by soft-deprecating in one version, hard-deprecating in the next, and removing in the one after, so anything soft-deprecated in 9 will be removed in 11, but we should already have dealt with most of those as we have been on PHPUnit 9 for a long time now. https://phpunit.de/announcements/phpunit-11.html has a list of the breaking changes and some things are going away in PHPUnit 12, but we don't have to worry about that for a while at least.

PHPUnit 8 and 9 will continue to receive PHP version upgrades as long as their team decide it is feasible, so we can only hope that it will last for the lifetime of Drupal 10, but there are no guarantees. Symfony 6 will presumably have the same issue, as we share the same lifecycle.

catch’s picture

PHPUnit 11.0 is already out. PHPUnit works by soft-deprecating in one version, hard-deprecating in the next, and removing in the one after, so anything soft-deprecated in 9 will be removed in 11

Forgot that detail - that's a good point so we should be fine split between phpunit 9 and 10 and just recommend people deal with all phpunit 9 deprecations.

mondrake’s picture

Issue summary: View changes

Few updates to the IS.

eduardo morales alberti’s picture

We should update PHPUnit as https://github.com/sebastianbergmann/resource-operations is also an archived library and is required only on the last version supported by Drupal 9.6.17 https://packagist.org/packages/phpunit/phpunit#9.6.17

+1

mondrake’s picture

Status: Active » Reviewed & tested by the community
Related issues: +#3400366: Remove DrupalComponentTestListenerTrait and replace with a PHPStan rule

We're down to the 2 last issues to be committed, #3400366: Remove DrupalComponentTestListenerTrait and replace with a PHPStan rule and #3417066: Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency, then this one would be done - 3 years and 160 issues later :)

catch’s picture

PHPUnit 10 is done! I wonder if we want to keep this open to track issues with the change record and/or discovered by contrib modules once thy start testing against it (or a new issue to track that?) otherwise I think we can close this too.

catch’s picture

fgm’s picture

Seems like this just broke the current D11 (next major) Gitlab template. See e.g. https://git.drupalcode.org/issue/htmx-3447092/-/jobs/1591833

The problem is the use of the --no-interaction CLI flag, which no longer exists in 10.5.20

mondrake’s picture

@fgm see this for the template adjustments: #3444792: Prepare for PHPUnit 10.

larowlan’s picture

Status: Reviewed & tested by the community » Fixed

This looks done to me. Feel free to reopen if we want somewhere to track stuff, but moving it away from RTBC to reflect state of queue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

quietone’s picture

Version: 11.x-dev » 11.0.x-dev