Part of meta-issue #2002650: [meta, no patch] improve maintainability by removing unused local variables
File /core/modules/views_ui/lib/Drupal/views_ui/Form/Ajax/ConfigItemGroup.php
Line 101: Unused local variable $id
Combine issues:
- #2080035: Remove Unused local variable $name from /core/modules/views_ui/lib/Drupal/views_ui/Form/Ajax/RearrangeFilter.php
- #2079891: Remove Unused local variable $name from /core/modules/views_ui/lib/Drupal/views_ui/Form/Ajax/Rearrange.php
- #2079881: Remove Unused local variable $stack from /core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
Comments
Comment #1
mrsinguyen commentedAttached patch.
Comment #3
mrsinguyen commented#1: drupal-core-remove-unused-local-variable-2080047.patch queued for re-testing.
Comment #4
mrsinguyen commentedJust removed the unused variable.
Comment #5
mrsinguyen commentedCombine issue:
- #2080035: Remove Unused local variable $name from /core/modules/views_ui/lib/Drupal/views_ui/Form/Ajax/RearrangeFilter.php
- #2079891: Remove Unused local variable $name from /core/modules/views_ui/lib/Drupal/views_ui/Form/Ajax/Rearrange.php
- #2079881: Remove Unused local variable $stack from /core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
Comment #6
mrsinguyen commentedAbove wrong because include SearchAdvancedSearchFormTest.php
Comment #7
mrsinguyen commentedComment #7.0
mrsinguyen commentedUpdated
Comment #9
mrsinguyen commented#6: drupal-core-remove-unused-local-variable-2080047-3.patch queued for re-testing.
Comment #11
mrsinguyen commentedComment #12
mrsinguyen commentedAdded correct patch.
Comment #13
linl commentedPatch no longer applies.
Comment #14
mrsinguyen commented#12: drupal-core-remove-unused-local-variable-2080047-5.patch queued for re-testing.
Comment #16
mrsinguyen commentedComment #17
mrsinguyen commentedComment #18
mcrittenden commentedTags
Comment #19
tim.plunkettRemoving tags
Comment #20
linl commentedPatch no longer applies, needs another reroll.
Comment #21
alex dicianu commentedThis is my first re-roll attempt ever so please be gentle. Followed the instructions from here: https://drupal.org/patch/reroll
Comment #21.0
alex dicianu commentedUpdated issue summary.
Comment #22
dawehnerI checked the three files which are changed here and the proposed removals are fine.
Comment #23
xano21: drupal-core-remove-unused-local-variable-2080047-7.patch queued for re-testing.
Comment #24
xano21: drupal-core-remove-unused-local-variable-2080047-7.patch queued for re-testing.
Comment #25
catchCommitted/pushed to 8.x, thanks!