Closed (fixed)
Project:
Drupal core
Version:
9.5.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2022 at 10:04 UTC
Updated:
18 Jul 2022 at 15:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
longwaveComment #3
longwaveThis code was ported to an event subscriber in #2323759: Modularize kernel exception handling where the @todo was added, but no followup was ever created.
It seems
_drupal_error_header()in errors.inc is responsible for actually sending the X-Drupal-Assertion headers.Comment #4
longwaveComment #5
spokjeNice clean-up.
RTBC for now, and awaiting the outcome of this Slack thread: https://drupal.slack.com/archives/C1BMUQ9U6/p1656933155907629
Comment #6
alexpottThere are no classes that extend this and there is nothing using the "service" in contrib. Event listeners are not part of the BC promise so therefore I think we should remove this dead and unused code. Given this has no usages in contrib and is test core and doesn't do anything I'm going to backport to 9.5.x.
Committed and pushed bc8f01f49d to 10.1.x and 1d24002bc9 to 10.0.x and d0ab08fb9e to 9.5.x. Thanks!