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/php/lib/Drupal/php/Plugin/views/argument_validator/Php.php
Line 55: Unused local variable $view
Line 56: Unused local variable $handler
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-core-remove-unused-local-variable-2081159-1.patch | 670 bytes | smira |
Comments
Comment #1
smira CreditAttribution: smira commentedComment #2
lorique CreditAttribution: lorique commentedBoth variables safely removed from the method Drupal\php\Plugin\views\argument_validator\Php->validateArgument()
Changing status. Thank you for your patch @smiro
Comment #3
webchickPatch no longer applies.
Comment #4
mrsinguyen CreditAttribution: mrsinguyen commentedPHP module removed from core #1203886: Remove the PHP module from Drupal core Assigned to: Dries
Comment #5
mrsinguyen CreditAttribution: mrsinguyen commented