Commit 64b838ad authored by webchick's avatar webchick

Issue #2187477 by lokapujya, vaibhavjain, visabhishek: Remove Unused use...

Issue #2187477 by lokapujya, vaibhavjain, visabhishek: Remove Unused use statements from system module.
parent 83bdbd50
......@@ -10,7 +10,6 @@
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\Response;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Database\Connection;
use Drupal\system\SystemManager;
/**
......
......@@ -7,7 +7,6 @@
namespace Drupal\system;
use Drupal\Component\Utility\String;
use Drupal\Core\Config\Entity\ConfigEntityListBuilder;
use Drupal\Core\Datetime\Date;
use Drupal\Core\Entity\EntityInterface;
......
......@@ -9,7 +9,6 @@
use Drupal\Core\Config\Entity\ConfigEntityBase;
use Drupal\Core\Datetime\DrupalDateTime;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\system\DateFormatInterface;
/**
......
......@@ -10,7 +10,6 @@
use Drupal\Core\Config\ConfigEvents;
use Drupal\Core\Config\ConfigImporterEvent;
use Drupal\Core\Config\ConfigImporterException;
use Drupal\Core\Config\StorageDispatcher;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
......
......@@ -9,7 +9,6 @@
use Drupal\Component\Utility\Unicode;
use Drupal\Core\Entity\EntityManagerInterface;
use Symfony\Cmf\Component\Routing\RouteObjectInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Database\Connection;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Symfony\Component\HttpFoundation\Request;
......
......@@ -7,8 +7,6 @@
namespace Drupal\system\Tests\Ajax;
use Drupal\ajax_test\Form\AjaxTestForm;
/**
* Tests use of dialogs as wrappers for Ajax responses.
*/
......
......@@ -8,7 +8,6 @@
namespace Drupal\system\Tests\Cache;
use Drupal\Core\Cache\DatabaseBackend;
use Drupal\Core\Database\Database;
/**
* Tests DatabaseBackend using GenericCacheBackendUnitTestBase.
......
......@@ -7,7 +7,6 @@
namespace Drupal\system\Tests\Common;
use Drupal\Core\Language\Language;
use Drupal\simpletest\DrupalUnitTestBase;
/**
......
......@@ -7,11 +7,6 @@
namespace Drupal\system\Tests\Entity;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\Field\FieldItemInterface;
use Drupal\Core\TypedData\TypedDataInterface;
/**
* Tests Entity API base functionality.
*/
......
......@@ -8,7 +8,6 @@
namespace Drupal\system\Tests\Entity;
use Drupal\simpletest\WebTestBase;
use Drupal\Core\Language\Language;
/**
* Tests \Drupal\Core\Entity\Controller\EntityViewController.
......
......@@ -8,7 +8,6 @@
namespace Drupal\system\Tests\Form;
use Drupal\simpletest\WebTestBase;
use Drupal\form_test\SystemConfigFormTestForm;
/**
* Tests the SystemConfigFormTestBase class.
......
......@@ -7,9 +7,6 @@
namespace Drupal\system\Tests\ParamConverter;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\simpletest\WebTestBase;
/**
......
......@@ -7,9 +7,7 @@
namespace Drupal\system\Tests\Plugin;
use Drupal\Component\Plugin\Exception\ExceptionInterface;
use Drupal\plugin_test\Plugin\AlterDecoratorTestPluginManager;
use Drupal\plugin_test\Plugin\TestPluginManager;
use Drupal\simpletest\WebTestBase;
/**
......
......@@ -7,7 +7,6 @@
namespace Drupal\system\Tests\Plugin;
use Drupal\Core\Cache\MemoryBackendFactory;
use Drupal\Core\Cache\MemoryBackend;
use Drupal\system\Tests\Plugin\Discovery\DiscoveryTestBase;
use Drupal\Component\Plugin\Discovery\StaticDiscovery;
......
......@@ -10,7 +10,6 @@
use Drupal\simpletest\DrupalUnitTestBase;
use Drupal\plugin_test\Plugin\MockBlockManager;
use Drupal\Component\Plugin\Exception\PluginException;
use Drupal\Component\Plugin\Exception\ContextException;
/**
* Tests that context aware plugins function correctly.
......
......@@ -8,7 +8,6 @@
namespace Drupal\system\Tests\Routing;
use Drupal\simpletest\WebTestBase;
use Symfony\Component\Routing\RequestContext;
/**
* Functional class for the full integrated routing system.
......
......@@ -7,10 +7,6 @@
namespace Drupal\system\Tests\System;
use Drupal\Core\Database\Database;
use Drupal\Core\Queue\DatabaseQueue;
use Drupal\Core\Queue\Memory;
use Drupal\simpletest\DrupalUnitTestBase;
use Drupal\simpletest\WebTestBase;
/**
......
......@@ -7,7 +7,6 @@
namespace Drupal\system\Tests\System;
use Drupal\Component\Datetime\DateTimePlus;
use Drupal\Component\Utility\Unicode;
use Drupal\simpletest\WebTestBase;
......
......@@ -5,19 +5,13 @@
* Configuration system that lets administrators modify the workings of the site.
*/
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Language\Language;
use Drupal\Core\Extension\Extension;
use Drupal\Core\Extension\ExtensionDiscovery;
use Drupal\Core\Utility\ModuleInfo;
use Drupal\block\BlockPluginInterface;
use Drupal\menu_link\MenuLinkInterface;
use Drupal\user\UserInterface;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use Guzzle\Http\Exception\BadResponseException;
use Guzzle\Http\Exception\RequestException;
......
......@@ -8,7 +8,6 @@
namespace Drupal\system\Tests\Transliteration;
use Drupal\Tests\UnitTestCase;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Component\Transliteration\PHPTransliteration;
use Drupal\system\MachineNameController;
use Symfony\Component\HttpFoundation\Request;
......
......@@ -11,7 +11,6 @@
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Field\FieldDefinition;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Language\Language;
use Drupal\user\EntityOwnerInterface;
use Drupal\user\UserInterface;
......
......@@ -7,8 +7,6 @@
namespace Drupal\entity_test\Entity;
use Drupal\Core\Language\Language;
/**
* Defines the test entity class.
*
......
......@@ -6,12 +6,9 @@
*/
use Drupal\Component\Utility\Json;
use Drupal\Core\Database\Connection;
use Drupal\Core\Database\Database;
use Drupal\Core\Language\Language;
use Drupal\form_test\Callbacks;
use Drupal\form_test\FormTestObject;
use Drupal\form_test\SystemConfigFormTestForm;
use Drupal\Core\Datetime\DrupalDateTime;
use Symfony\Component\HttpFoundation\JsonResponse;
......
......@@ -7,7 +7,6 @@
namespace Drupal\menu_test\EventSubscriber;
use Drupal\Core\KeyValueStore\KeyValueStoreInterface;
use Drupal\Core\KeyValueStore\StateInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
......
......@@ -9,7 +9,6 @@
use Drupal\Component\Plugin\PluginManagerBase;
use Drupal\Component\Plugin\Discovery\StaticDiscovery;
use Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator;
use Drupal\Component\Plugin\Factory\DefaultFactory;
/**
......
......@@ -8,7 +8,6 @@
namespace Drupal\plugin_test\Plugin\plugin_test\mock_block;
use Drupal\Core\Plugin\ContextAwarePluginBase;
use Drupal\Component\Plugin\Discovery\DiscoveryInterface;
/**
* Implementation of a user name block plugin used by Plugin API context test.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment