Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
\PHPUnit\Framework\TestCase::expectExceptionMessageRegExp is deprecated. We need to use \PHPUnit\Framework\TestCase::expectExceptionMessageMatches instead.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#4 | 3143235-4.patch | 1.55 KB | alexpott |
#3 | 3143235-3.patch | 2.12 KB | alexpott |
Comments
Comment #2
alexpottComment #3
alexpottComment #4
alexpottSo #3 proves we've fixed them all. But we should commit the patch attached here so we don't clash with #3142267: Allow the full list of deprecations from PHPUnit8Warning to respect the --suppress-deprecations behavior on DrupalCI and that patch can get on with triggering deprecations to make upgrading from Drupal 8 to Drupal 9 easier.
Comment #5
mondrakeLGTM. Note: I think this can not be backported to D8 without a fc shim for PHPUnit 6.
Comment #8
catchCommitted/pushed to 9.1.x and cherry-picked to 9.0.x, thanks!