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/Views/HandlerFieldUserNameTest.php
Line 39: Unused local variable $username
Line 46: Unused local variable $username
Line 58: Unused local variable $anon_name
Comments
Comment #1
mrsinguyen CreditAttribution: mrsinguyen commentedSee three variables above still use in lasted 8.x
Comment #2
areke CreditAttribution: areke commentedYou're right. The variables are now used, so this isn't an issue anymore.