diff --git a/src/Plugin/entity_embed/EntityEmbedDisplay/EntityReferenceFieldFormatter.php b/src/Plugin/entity_embed/EntityEmbedDisplay/EntityReferenceFieldFormatter.php
index 1c73d68..852688b 100644
--- a/src/Plugin/entity_embed/EntityEmbedDisplay/EntityReferenceFieldFormatter.php
+++ b/src/Plugin/entity_embed/EntityEmbedDisplay/EntityReferenceFieldFormatter.php
@@ -7,8 +7,6 @@
 
 namespace Drupal\entity_embed\Plugin\entity_embed\EntityEmbedDisplay;
 
-use Drupal\Core\Field\BaseFieldDefinition;
-use Drupal\Core\Session\AccountInterface;
 use Drupal\entity_embed\EntityEmbedDisplay\FieldFormatterEntityEmbedDisplayBase;
 
 /**
diff --git a/src/Tests/EntityEmbedHooksTest.php b/src/Tests/EntityEmbedHooksTest.php
index b5d3789..714a89f 100644
--- a/src/Tests/EntityEmbedHooksTest.php
+++ b/src/Tests/EntityEmbedHooksTest.php
@@ -7,8 +7,6 @@
 
 namespace Drupal\entity_embed\Tests;
 
-use Drupal\entity_embed\EntityHelperTrait;
-
 /**
  * Tests the hooks provided by entity_embed module.
  *
diff --git a/src/Tests/EntityReferenceFieldFormatterTest.php b/src/Tests/EntityReferenceFieldFormatterTest.php
index a310bbe..9676ebd 100644
--- a/src/Tests/EntityReferenceFieldFormatterTest.php
+++ b/src/Tests/EntityReferenceFieldFormatterTest.php
@@ -8,7 +8,6 @@
 namespace Drupal\entity_embed\Tests;
 
 use Drupal\Core\Form\FormState;
-use Drupal\entity_embed\EntityHelperTrait;
 
 /**
  * Tests the entity reference field formatters provided by entity_embed.
diff --git a/src/Tests/FileFieldFormatterTest.php b/src/Tests/FileFieldFormatterTest.php
index c9d50c5..01b6118 100644
--- a/src/Tests/FileFieldFormatterTest.php
+++ b/src/Tests/FileFieldFormatterTest.php
@@ -9,7 +9,6 @@ namespace Drupal\entity_embed\Tests;
 
 use Drupal\Component\Serialization\Json;
 use Drupal\Core\Form\FormState;
-use Drupal\entity_embed\EntityHelperTrait;
 
 /**
  * Tests the file field formatter provided by entity_embed.
diff --git a/src/Tests/ImageFieldFormatterTest.php b/src/Tests/ImageFieldFormatterTest.php
index f256251..de2f6ff 100644
--- a/src/Tests/ImageFieldFormatterTest.php
+++ b/src/Tests/ImageFieldFormatterTest.php
@@ -9,7 +9,6 @@ namespace Drupal\entity_embed\Tests;
 
 use Drupal\Component\Serialization\Json;
 use Drupal\Core\Form\FormState;
-use Drupal\entity_embed\EntityHelperTrait;
 
 /**
  * Tests the image field formatter provided by entity_embed.
