Postponed
Project:
Drupal core
Version:
main
Component:
phpunit
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
9 May 2025 at 14:47 UTC
Updated:
8 May 2026 at 09:39 UTC
Jump to comment: Most recent
Follow up of #3523383: Tidy up and tighten deprecation skips.
The DeprecationHandler class was implemented as a replacement of Symfony's PHPUnit-bridge component, and uses initialization logic that is now outdated by more recent PHPUnit developments.
In this issue, we will
SYMFONY_DEPRECATION_HELPER variable redundant (still allowing its usage at least for now).deprecation-ignore.txt file actually necessary and b) are tests marked with the #[IgnoreDeprecations] attribute actually triggering any deprecation. So that with those information we can cleanup tests from irrelevant settings (that could also silently ignore other unexpected deprecations).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
Comment #2
mondrakeComment #4
mondrakePOC works, see the output at the end of run-tests.sh execution... I "just" need to find a way to consolidate results across different jobs to have a single overall stats board.
Comment #5
mondrakeComment #6
mondrakeComment #7
mondrakeComment #8
quietone commentedJust a little issue maintenance. Adding what this is postponed on to the remaining tasks per Remining tasks.
Comment #9
mondrakeComment #10
mondrakeComment #11
mondrakeComment #12
mondrakepostponed on #3497124: Deprecate expectDeprecation(), use PHPUnit's expectUserDeprecationMessage*() instead
Comment #13
mondrakeComment #15
mondrakeComment #18
mondrakeComment #19
mondrakeComment #20
mondrakeComment #21
mondrakeComment #22
mondrakeComment #23
mondrakeLet's spin off the first 3 point from the IS into an issue of its own.
Comment #24
mondrakeComment #25
mondrake