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/views/lib/Drupal/views/Tests/Handler/FilterDateTest.php
Line 152: Unused local variable $view
Comment | File | Size | Author |
---|---|---|---|
#4 | remove-unused-vars-2072625-4.patch | 685 bytes | rhm5000 |
#4 | interdiff-2072625-1-4.txt | 677 bytes | rhm5000 |
#1 | core-remove-unused-vars-2072625-1.patch | 734 bytes | legolasbo |
Comments
Comment #1
legolasboRemoved unused variable
Comment #2
rhm5000 CreditAttribution: rhm5000 commentedPatch applies, removes unused local variable
$view
.Comment #3
alexpottThis whole line can be removed - it is unnecessary for the test.
Comment #4
rhm5000 CreditAttribution: rhm5000 commentedPatch with whole line removed.
Comment #5
areke CreditAttribution: areke commentedThe patch applies cleanly; it looks good. Thank you!
Comment #6
webchickCommitted and pushed to 8.x. Thanks!