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/toolbar/src/Tests/ToolbarAdminMenuTest.php
Found 3 unused variables.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2598500-1.patch | 1.19 KB | krknth |
Comments
Comment #2
krknth CreditAttribution: krknth as a volunteer and commentedAdded patch.
Comment #3
nicrodgerspatch applied cleanly to latest 8.0.x and there are no more unused variables in core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php, nice one!
Comment #5
xjmAs a coding standards cleanup, removing unused variables is rc eligible. I confirmed that all three of these local variables were never used. Committed and pushed to 8.0.x. Thanks!
Comment #6
krknth CreditAttribution: krknth as a volunteer and at Valuebound commentedThanks! @nicrodgers, @xjm