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/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Line 332: Unused local variable $routes
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-core-remove-unused-local-variable-2080339.patch | 758 bytes | mrsinguyen |
Comments
Comment #1
mrsinguyen CreditAttribution: mrsinguyen commentedComment #2
lorique CreditAttribution: lorique commentedThis looks fine. $routes is unused and has been safely removed.
Thank you for your patch @mrsinguyen
Comment #3
catchCommitted/pushed to 8.x, thanks!
Comment #4
catchCommitted/pushed to 8.x, thanks!