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/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDatelistWidget.php
Line 85: Unused local variable $type_type
Comment | File | Size | Author |
---|---|---|---|
#4 | 2081163-4.patch | 1.08 KB | areke |
#2 | drupal8.other_.2081163-2.patch | 709 bytes | smira |
#1 | drupal8.other_.2081163-1.patch | 0 bytes | smira |
Comments
Comment #1
smira CreditAttribution: smira commentedComment #2
smira CreditAttribution: smira commentedComment #3
parthipanramesh CreditAttribution: parthipanramesh commentedcan't apply patch..
Comment #4
areke CreditAttribution: areke commentedComment #6
areke CreditAttribution: areke commented4: 2081163-4.patch queued for re-testing.
Comment #8
areke CreditAttribution: areke commented4: 2081163-4.patch queued for re-testing.
Comment #9
xjmLet's also check the rest of the module and confirm that there are no other unused local variables.
Comment #10
enhdless CreditAttribution: enhdless commentedPatch #4 looks good to me
Comment #11
parthipanramesh CreditAttribution: parthipanramesh commentedLooks fine.
Comment #12
webchickCommitted and pushed to 8.x. Thanks!