Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We've removed all the usages of Utility\String but there are still plenty of use statements, lets remove those now so we can start testing on PHP 7.
Also, we should do an audit of unused use statements in core, there are heaps!
Comment | File | Size | Author |
---|---|---|---|
#3 | remove_string_use-2462151-3.patch | 11.1 KB | hussainweb |
#3 | interdiff.txt | 678 bytes | hussainweb |
Comments
Comment #1
XanoThe patch only removes use statements and all tests pass.
Thanks!
Comment #2
benjy CreditAttribution: benjy at CodeDrop commentedComment #3
hussainwebThere is another reference. Removing it.
Comment #4
benjy CreditAttribution: benjy at CodeDrop commentedJust a comment. Back to RTBC
Comment #5
alexpottPart of the PHP7 critical - could be done as part of the class removal but doing it now keeps things simple. Committed ea08182 and pushed to 8.0.x. Thanks!