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.
Part of meta-issue #2002650: [meta, no patch] improve maintainability by removing unused local variables
File /core/modules/user/lib/Drupal/user/Tests/UserLanguageTest.php
Line 36: Unused local variable $base_url
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal-core-remove-unused-local-variable-2080597-2.patch | 680 bytes | sandergo90 |
#1 | drupal-core-remove-unused-local-variable-2080597.patch | 633 bytes | mrsinguyen |
Comments
Comment #1
mrsinguyen CreditAttribution: mrsinguyen commentedComment #2
sandergo90 CreditAttribution: sandergo90 commentedThe patch was not successful. There still remains a blank line under the function declaration. I have created a patch to delete that one to.
Comment #3
parthipanramesh CreditAttribution: parthipanramesh commentedLooks good to me.
Comment #4
webchickCommitted and pushed to 8.x. Thanks!