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

File /core/modules/node/lib/Drupal/node/Tests/Views/FilterUidRevisionTest.php

Line 54: Unused local variable $node

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

littledynamo’s picture

Assigned: Unassigned » littledynamo
littledynamo’s picture

Pete B’s picture

Status: Active » Needs review
FileSize
1.4 KB

None of the $node variables were being used.

Status: Needs review » Needs work

The last submitted patch, drupal_core-unused_local_variable-2080065-3.patch, failed testing.

Pete B’s picture

Status: Needs work » Needs review
FileSize
731 bytes

Ok, so maybe they were used once or twice...

sandipmkhairnar’s picture

Thanks @Pete B for patch.

I have review and tested the patch its working fine for me.

oriol_e9g’s picture

Status: Needs review » Reviewed & tested by the community
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed cddf217 and pushed to 8.x. Thanks!

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