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

File /core/modules/php/lib/Drupal/php/Plugin/views/argument_validator/Php.php

Line 55: Unused local variable $view
Line 56: Unused local variable $handler

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

smira’s picture

Status: Active » Needs review
FileSize
670 bytes
lorique’s picture

Status: Needs review » Reviewed & tested by the community

Both variables safely removed from the method Drupal\php\Plugin\views\argument_validator\Php->validateArgument()

Changing status. Thank you for your patch @smiro

webchick’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs reroll

Patch no longer applies.

mrsinguyen’s picture

Status: Needs work » Closed (won't fix)

PHP module removed from core #1203886: Remove the PHP module from Drupal core Assigned to: Dries

mrsinguyen’s picture

Issue tags: -Novice, -Needs reroll