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/Database/CaseSensitivityTest.php
Line 28: Unused local variable $john
Comment | File | Size | Author |
---|---|---|---|
#4 | remove-unused-variable-john-2080291-4.patch | 715 bytes | justinchev |
Comments
Comment #1
chertzogClosing as duplicate of #2080311: Clean up Drupal\system\Tests\Database\SelectTest.php
Comment #2
angel.hThis issue shouldn't have been closed - see https://drupal.org/node/2080311#comment-7909573.
Comment #3
justinchev CreditAttribution: justinchev commentedComment #4
justinchev CreditAttribution: justinchev commentedRemoved the '$john =' bit.
Comment #5
johnmcc CreditAttribution: johnmcc commented#4 applies cleanly, and looks fine. The relevant test still passes too.
Comment #6
parthipanramesh CreditAttribution: parthipanramesh commentedWorks as expected. Thank you!
Comment #7
parthipanramesh CreditAttribution: parthipanramesh commentedComment #8
webchickCommitted and pushed to 8.x. Thanks!