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/Plugin/CacheDecoratorLanguageTest.php
Line 68: Unused local variable $plugin_id
Line 81: Unused local variable $plugin_id
Line 89: Unused local variable $plugin_id
Line 111: Unused local variable $plugin_id
Line 116: Unused local variable $plugin_id
Comment | File | Size | Author |
---|---|---|---|
#8 | drupal-core-remove-unused-variable-2080113-8.patch | 2.64 KB | deneo |
#6 | 2080113-remove-unused-variable-5.patch | 2.66 KB | deneo |
#4 | 2080113-remove-unused-local-4.patch | 2.62 KB | rhm5000 |
Comments
Comment #1
chertzogClosing as duplicate of #2080311: Clean up Drupal\system\Tests\Database\SelectTest.php
Comment #2
angel.hComment #3
angel.hThis issue shouldn't have been closed - see https://drupal.org/node/2080311#comment-7909573.
Comment #4
rhm5000 CreditAttribution: rhm5000 commentedComment #5
parthipanramesh CreditAttribution: parthipanramesh commentedsorry, but I can't apply this patch..
Comment #6
deneo CreditAttribution: deneo commentedpatch
Comment #8
deneo CreditAttribution: deneo commentedComment #9
areke CreditAttribution: areke commentedThe patch applies cleanly and takes care of the issue. Thank you!
Comment #10
catchCommitted/pushed to 8.x, thanks!