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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

smira’s picture

Status: Active » Needs review
FileSize
0 bytes
smira’s picture

FileSize
709 bytes
parthipanramesh’s picture

Issue summary: View changes
Status: Needs review » Needs work

can't apply patch..

areke’s picture

Status: Needs work » Needs review
FileSize
1.08 KB

Status: Needs review » Needs work

The last submitted patch, 4: 2081163-4.patch, failed testing.

areke’s picture

Status: Needs work » Needs review

4: 2081163-4.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, 4: 2081163-4.patch, failed testing.

areke’s picture

Status: Needs work » Needs review

4: 2081163-4.patch queued for re-testing.

xjm’s picture

Title: Remove Unused local variable $type_type from /datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDatelistWidget.php » Remove unused local variables from the datetime module
Component: other » datetime.module
Priority: Normal » Minor

Let's also check the rest of the module and confirm that there are no other unused local variables.

enhdless’s picture

Patch #4 looks good to me

parthipanramesh’s picture

Status: Needs review » Reviewed & tested by the community

Looks fine.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.