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/comment/lib/Drupal/comment/Tests/CommentTokenReplaceTest.php
Line 52: Unused local variable $instance
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-core-remove-unused-local-variable-2080577.patch | 698 bytes | mrsinguyen |
Comments
Comment #1
mrsinguyen CreditAttribution: mrsinguyen commentedComment #2
LinL CreditAttribution: LinL commentedPatch still applies, looks good. RTBC.
Comment #3
webchickNice. This will probably speed up these tests a bit, not having to run this code every time.
Committed and pushed to 8.x. Thanks!