Problem/Motivation
When looking at depreactaion messages for rector/update bot i saw the following:
@trigger_error(__FUNCTION__ . 'is deprecated in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\ckeditor5\Hook\Ckeditor5Hooks::updateCkeditor5HtmlFilter() instead. See https://www.drupal.org/node/3566774', E_USER_DEPRECATED);
That is actually missing a space which makes the message a bit weird. There are 3 places where this is the case right now. This MR fixes that.
Since this is not released yet, we could fix this quickly. Setting major since its time sensitive.
Steps to reproduce
na
Proposed resolution
Add a space
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|
Issue fork drupal-3591520
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:
Comments
Comment #2
bbralaComment #4
bbralaComment #6
longwaveFWIW we can fix deprecation messages like this even after release - for example I'm pretty sure the links have been wrong before and we only noticed post-release.
Comment #7
nicxvan commentedI don't have access to the 11.x failures but I expect they are random.
Both branches look good!
Comment #8
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #9
bbralaHmm, if that is the case there is way more. A quick search for
__FUNCTION__ . ' is deprecatedshows quite a few hits. Do we include those here?Some are 11.4, but also quite a few 11.3
Comment #10
quietone commentedOh rats. Yea, we really should fix them all to conform to policy. I found 8 more on 11.x and 3 on main. Since this can be fixed via the command line, let's do that.
I'll add to my list to check the current RTBC issues for this particular error.
Changing the component to other since this now affects more than one system.
Comment #11
bbrala