Closed (fixed)
Project:
Drupal core
Version:
9.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2020 at 09:27 UTC
Updated:
7 Jul 2020 at 05:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
longwaveComment #4
longwaveComment #5
xjmThis needs a reroll following #3120954: Add function name to the deprecation message about theme functions.
In case anyone is wondering about the "Unsilenced deprecation" prefixes in the legacy tests, it appears this is part of the PHPUnit bridge... see the test failure in #2. I checked core and we don't have it anywhere else in 9.0.x, but there's an example in 8.9.x/8.8.x/etc.
Comment #6
tedbowrerolling
Comment #7
tedbowComment #8
tedbowGoing to re-RTBC since it is very simple reroll
Test pass for me locally but obviously shouldn't be committed until tests pass here.
Comment #9
xjmSorry, I should have probably said "updated for #3120954: Add function name to the deprecation message about theme functions" -- the new patch is reverting it for those tests.
Comment #10
longwaveThe deprecation messages were improved to help developers discover exactly what needs fixing, that change needs to be kept here.
edit: crosspost with xjm
Comment #11
tedbow🤦♂️
Ok. now I have this issue and #3120954: Add function name to the deprecation message about theme functions
Fixed
Comment #12
longwaveLooks good now. RTBC if tests agree!
Comment #13
xjmCommitted and pushed to 9.0.x. Thanks!
Comment #17
larowlanCrediting catch from #2641876: Trigger E_USER_DEPRECATED when theme functions are discovered which I closed as a duplicate of this which had essentially the same approach.