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 CreditAttribution: mrsinguyen commentedAttached patch.
Comment #3
mrsinguyen CreditAttribution: mrsinguyen commented#1: drupal-core-remove-unused-local-variable-2080047.patch queued for re-testing.
Comment #4
mrsinguyen CreditAttribution: mrsinguyen commentedJust removed the unused variable.
Comment #5
mrsinguyen CreditAttribution: 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 CreditAttribution: mrsinguyen commentedAbove wrong because include SearchAdvancedSearchFormTest.php
Comment #7
mrsinguyen CreditAttribution: mrsinguyen commentedComment #7.0
mrsinguyen CreditAttribution: mrsinguyen commentedUpdated
Comment #9
mrsinguyen CreditAttribution: mrsinguyen commented#6: drupal-core-remove-unused-local-variable-2080047-3.patch queued for re-testing.
Comment #11
mrsinguyen CreditAttribution: mrsinguyen commentedComment #12
mrsinguyen CreditAttribution: mrsinguyen commentedAdded correct patch.
Comment #13
LinL CreditAttribution: LinL commentedPatch no longer applies.
Comment #14
mrsinguyen CreditAttribution: mrsinguyen commented#12: drupal-core-remove-unused-local-variable-2080047-5.patch queued for re-testing.
Comment #16
mrsinguyen CreditAttribution: mrsinguyen commentedComment #17
mrsinguyen CreditAttribution: mrsinguyen commentedComment #18
mcrittenden CreditAttribution: mcrittenden commentedTags
Comment #19
tim.plunkettRemoving tags
Comment #20
LinL CreditAttribution: LinL commentedPatch no longer applies, needs another reroll.
Comment #21
Alex Dicianu CreditAttribution: 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 CreditAttribution: 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!