Problem/Motivation
Remove deprecated code in utilities
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3441394
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:
- 3441394-remove-deprecated-code
changes, plain diff MR !7535
Comments
Comment #3
quietone commentedComment #4
quietone commentedComment #5
smustgrave commentedSearching for deprecated and 11.0 found a missing instance in
Token.php
Also a comment in LinkGenerator // @todo System path is deprecated - use the route name and parameters.
Comment #7
quietone commentedComment #8
smustgrave commentedQuick glance but link generator is removing a comment. Does the code need to be tweaked at all?
Comment #9
smustgrave commentedBelieve the comment in linkGenerator was left over.
https://git.drupalcode.org/project/drupal/-/commit/bf4a582850e66bc28cfd0... was the commit it was added.
Comment #10
catchThat @todo wasn't a leftover, it's not been worked on since it was added. I think we can remove the @todo, but let's open an issue for what it was trying to do so the thought is still tracked - left a comment on the MR and marking needs work for the follow-up to be opened.
Comment #11
smustgrave commentedOpened up follow ups for both threads
Added comment back and since that was the only change I did think good to self RTBC.
Comment #12
catchI think we should probably add the type hints that were moved to a follow-up in this issue - gave reasons in the MR.
Comment #13
smustgrave commentedadded typehints.
Comment #15
catchCommitted/pushed to 11.x, thanks!