Problem/Motivation
This is a bit of moonwalking built on top of
#3527936: Introduce support for PHPUnit 12 and
#3497124: Deprecate expectDeprecation(), use PHPUnit's expectUserDeprecationMessage*() instead,
aimed at removing completely the custom deprecation handler that let us currently ignore deprecations that follow the patterns defined in .deprecation-ignore.txt.
Would require that PHPUnit upstream agrees to manage such a pattern file and implements that.
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3558105
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:
- 3558105-experimental-remove-deprecationhandler
changes, plain diff MR !13849
Comments
Comment #4
mondrakePHPUnit upstream introduced DeprecationFilter in PHPUnit 13.3, and #3574681: [Nov 2026] Introduce support for PHPUnit 13.5 will adopt it.
Comment #5
mondrake