Part of meta-issue #2002650: [meta, no patch] improve maintainability by removing unused local variables

File /core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php

Line 37: Unused local variable $task_field
Line 62: Unused local variable $task_field
Line 63: Unused local variable $priority_field
Line 74: Unused local variable $last_priority
Line 157: Unused local variable $name_field
Line 158: Unused local variable $age_field
Line 163: Unused local variable $record
Line 175: Unused local variable $task_field
Line 180: Unused local variable $record
Line 272: Unused local variable $task_field
Line 285: Unused local variable $pid_field
Line 295: Unused local variable $pid_field

Comments

chertzog’s picture

Status: Active » Closed (duplicate)
angel.h’s picture

Status: Closed (duplicate) » Active

This issue shouldn't have been closed - see https://drupal.org/node/2080311#comment-7909573.

michaelhiiva’s picture

Assigned: Unassigned » michaelhiiva
michaelhiiva’s picture

Status: Active » Needs review
StatusFileSize
new3.93 KB

Status: Needs review » Needs work

The last submitted patch, 2080317-remove-unused-local-4.patch, failed testing.

michaelhiiva’s picture

Status: Needs work » Needs review
StatusFileSize
new3.94 KB
new943 bytes
johnmcc’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, applies cleanly, and the relevant tests still pass.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 92fdd31 and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.