Remove unused imports in the code base

CommentFileSizeAuthor
#2 2658730-2.patch3.26 KBheykarthikwithu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

heykarthikwithu created an issue. See original summary.

heykarthikwithu’s picture

Assigned: heykarthikwithu » Unassigned
Status: Active » Needs review
FileSize
3.26 KB

bojanz’s picture

Status: Needs review » Fixed

Don't believe everything PhpStorm tells you, the removed trait is in use just a few lines below:

diff --git a/modules/order/src/Form/OrderReassignForm.php b/modules/order/src/Form/OrderReassignForm.php
index a63e3c3..4989e58 100644
--- a/modules/order/src/Form/OrderReassignForm.php
+++ b/modules/order/src/Form/OrderReassignForm.php
@@ -7,7 +7,6 @@
 
 namespace Drupal\commerce_order\Form;
 
-use Drupal\commerce_order\Form\CustomerFormTrait;
 use Drupal\Core\Form\FormBase;
 use Drupal\Core\Form\FormStateInterface;
 use Drupal\Core\Routing\CurrentRouteMatch;

Committed the rest, thanks.

heykarthikwithu’s picture

SHIZZLE :) , from now onward's will have a check of this things before adding a patch.

Status: Fixed » Closed (fixed)

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