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/dblog/lib/Drupal/dblog/Tests/DbLogTest.php
Line 314: Unused local variable $langcode
Line 501: Unused local variable $key
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal-core-remove-unused-local-variable-2080561-3.patch | 663 bytes | mrsinguyen |
#1 | drupal-core-remove-unused-local-variable-2080561.patch | 1.04 KB | mrsinguyen |
Comments
Comment #1
mrsinguyen CreditAttribution: mrsinguyen commentedComment #2
rhm5000 CreditAttribution: rhm5000 commentedPatch no longer applies.
Comment #3
mrsinguyen CreditAttribution: mrsinguyen commentedComment #4
rhm5000 CreditAttribution: rhm5000 commentedPatch applies and removes unused variable $key, $langcode variable no-longer in DbLogTest.php.
Comment #5
alexpottCommitted ef02f36 and pushed to 8.x. Thanks!