From 84877aa263f4bf82d2832fd7c551b5f04e8ed921 Mon Sep 17 00:00:00 2001
From: Joao Ventura <19380-jcnventura@users.noreply.drupalcode.org>
Date: Sat, 1 Jun 2024 02:21:19 +0200
Subject: [PATCH] Issue #3451702 by jcnventura: Fix phpcs issues

---
 .../single_datetime_exposed/single_datetime_exposed.module  | 2 +-
 src/Element/SingleDateTime.php                              | 6 +++---
 src/Plugin/Field/FieldWidget/SingleDateTimeBase.php         | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/single_datetime_exposed/single_datetime_exposed.module b/modules/single_datetime_exposed/single_datetime_exposed.module
index 4bbe1dd..59e335c 100644
--- a/modules/single_datetime_exposed/single_datetime_exposed.module
+++ b/modules/single_datetime_exposed/single_datetime_exposed.module
@@ -5,8 +5,8 @@
  * Main module file single_datetime_exposed.
  */
 
-use Drupal\Core\Routing\RouteMatchInterface;
 use Drupal\Core\Form\FormStateInterface;
+use Drupal\Core\Routing\RouteMatchInterface;
 use Drupal\single_datetime\AttributeHelper;
 
 /**
diff --git a/src/Element/SingleDateTime.php b/src/Element/SingleDateTime.php
index 7ada718..fd0d5ea 100644
--- a/src/Element/SingleDateTime.php
+++ b/src/Element/SingleDateTime.php
@@ -2,10 +2,10 @@
 
 namespace Drupal\single_datetime\Element;
 
-use Drupal\Core\Render\Element\FormElement;
-use Drupal\Core\Render\Element;
-use Drupal\Core\Form\FormStateInterface;
 use Drupal\Component\Serialization\Json;
+use Drupal\Core\Form\FormStateInterface;
+use Drupal\Core\Render\Element;
+use Drupal\Core\Render\Element\FormElement;
 
 /**
  * Provides a SingleDateTime form element.
diff --git a/src/Plugin/Field/FieldWidget/SingleDateTimeBase.php b/src/Plugin/Field/FieldWidget/SingleDateTimeBase.php
index a4e2d03..ed75b70 100644
--- a/src/Plugin/Field/FieldWidget/SingleDateTimeBase.php
+++ b/src/Plugin/Field/FieldWidget/SingleDateTimeBase.php
@@ -8,8 +8,8 @@ use Drupal\Core\Field\FieldDefinitionInterface;
 use Drupal\Core\Form\FormStateInterface;
 use Drupal\datetime\Plugin\Field\FieldType\DateTimeItem;
 use Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface;
-use Symfony\Component\DependencyInjection\ContainerInterface;
 use Drupal\datetime\Plugin\Field\FieldWidget\DateTimeWidgetBase;
+use Symfony\Component\DependencyInjection\ContainerInterface;
 
 /**
  * Base class for SingleDateTime widget types.
-- 
GitLab