From 3172f9f55fb7af46f6504fc2da7afeb9268bd05b Mon Sep 17 00:00:00 2001 From: Eli Zoller Date: Mon, 30 Nov 2020 08:43:31 -0700 Subject: [PATCH] more code sniffer fixes --- src/Form/IslandoraSettingsForm.php | 1 - tests/src/Kernel/FedoraAdapterTest.php | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Form/IslandoraSettingsForm.php b/src/Form/IslandoraSettingsForm.php index 873c1974..af1cdf2a 100644 --- a/src/Form/IslandoraSettingsForm.php +++ b/src/Form/IslandoraSettingsForm.php @@ -7,7 +7,6 @@ use Drupal\Core\Entity\EntityTypeBundleInfoInterface; use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Site\Settings; -use Drupal\Core\Url; use GuzzleHttp\Exception\ConnectException; use Islandora\Crayfish\Commons\Client\GeminiClient; use Stomp\Client; diff --git a/tests/src/Kernel/FedoraAdapterTest.php b/tests/src/Kernel/FedoraAdapterTest.php index 80cabc24..1f5dde3a 100644 --- a/tests/src/Kernel/FedoraAdapterTest.php +++ b/tests/src/Kernel/FedoraAdapterTest.php @@ -620,7 +620,6 @@ class FedoraAdapterTest extends IslandoraKernelTestBase { $prophecy->getStatusCode()->willReturn(201); $response = $prophecy->reveal(); - $date = new \DateTime(); $fedora_prophecy->createVersion('', Argument::any(), NULL, Argument::any())->willReturn($prophecy->reveal());