Commit ea081822 authored by alexpott's avatar alexpott

Issue #2462151 by hussainweb, benjy: Remove unused Utility\String use statements

parent f3b8d071
......@@ -6,7 +6,6 @@
*/
use Drupal\Component\Utility\Unicode;
use Drupal\Component\Utility\String;
/**
* Returns Unicode library status and errors.
......
......@@ -7,7 +7,6 @@
namespace Drupal\Core\Database\Driver\mysql;
use Drupal\Component\Utility\String;
use Drupal\Core\Database\Database;
use Drupal\Core\Database\Query\Condition;
use Drupal\Core\Database\SchemaObjectExistsException;
......
......@@ -7,7 +7,6 @@
namespace Drupal\Core\Database\Driver\pgsql;
use Drupal\Component\Utility\String;
use Drupal\Component\Utility\Unicode;
use Drupal\Core\Database\Database;
use Drupal\Core\Database\Query\Condition;
......
......@@ -7,7 +7,6 @@
namespace Drupal\Core\Form;
use Drupal\Component\Utility\String;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\Url;
use Symfony\Component\HttpFoundation\Request;
......
......@@ -7,7 +7,6 @@
namespace Drupal\Core\Routing;
use Drupal\Component\Utility\String;
use Drupal\Core\Path\CurrentPathStack;
use Drupal\Core\State\StateInterface;
use Symfony\Cmf\Component\Routing\PagedRouteCollection;
......
......@@ -7,7 +7,6 @@
namespace Drupal\Core\Theme;
use Drupal\Component\Utility\String;
use Drupal\Core\Extension\Extension;
use Drupal\Core\Extension\ThemeHandlerInterface;
use Drupal\Core\State\StateInterface;
......
......@@ -7,7 +7,6 @@
namespace Drupal\block\Controller;
use Drupal\Component\Utility\String;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Extension\ThemeHandler;
use Drupal\Core\Extension\ThemeHandlerInterface;
......
......@@ -9,7 +9,6 @@
use Drupal\Component\Utility\Html;
use Drupal\simpletest\WebTestBase;
use Drupal\Component\Utility\String;
use Drupal\block\Entity\Block;
use Drupal\user\RoleInterface;
......
......@@ -8,7 +8,6 @@
namespace Drupal\comment;
use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
use Drupal\Component\Utility\String;
use Drupal\Component\Utility\Unicode;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Entity\EntityInterface;
......
......@@ -7,7 +7,6 @@
use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\SafeMarkup;
use Drupal\Component\Utility\String;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Render\Element;
......
......@@ -9,7 +9,6 @@
use Drupal\comment\CommentInterface;
use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
use Drupal\Component\Utility\String;
use Drupal\Core\DrupalKernel;
use Drupal\Core\Session\UserSession;
use Drupal\Core\Site\Settings;
......
......@@ -14,7 +14,6 @@
use Drupal\Core\Routing\UrlGeneratorInterface;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Component\Utility\Xss;
use Drupal\Component\Utility\String;
/**
* Defines a class to build a listing of node type entities.
......
......@@ -6,7 +6,6 @@
namespace Drupal\rdf\Tests\Field;
use Drupal\Component\Utility\String;
use Drupal\rdf\Tests\Field\FieldRdfaTestBase;
/**
......
......@@ -9,7 +9,6 @@
use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
use Drupal\comment\Tests\CommentTestTrait;
use Drupal\Component\Utility\String;
use Drupal\field\Entity\FieldConfig;
use Drupal\user\RoleInterface;
......
......@@ -6,7 +6,6 @@
*/
use Drupal\Component\Utility\Environment;
use Drupal\Component\Utility\String;
/**
* Minimum value of PHP memory_limit for SimpleTest.
......
......@@ -7,7 +7,6 @@
namespace Drupal\system\Form;
use Drupal\Component\Utility\String;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Datetime\DateFormatter;
use Drupal\Core\Form\FormStateInterface;
......
......@@ -7,7 +7,6 @@
namespace Drupal\system\Tests\Common;
use Drupal\Component\Utility\String;
use Drupal\Core\Url;
use Drupal\simpletest\WebTestBase;
......
......@@ -7,7 +7,6 @@
namespace Drupal\system\Tests\Form;
use Drupal\Component\Utility\String;
use Drupal\Core\Form\FormInterface;
use Drupal\Core\Form\FormState;
use Drupal\Core\Form\FormStateInterface;
......
......@@ -10,7 +10,6 @@
use Drupal\simpletest\WebTestBase;
use Symfony\Component\HttpFoundation\Request;
use Drupal\Component\Utility\Crypt;
use Drupal\Component\Utility\String;
/**
* Ensure that when running under HTTPS two session cookies are generated.
......
......@@ -7,7 +7,6 @@
namespace Drupal\system\Tests\Theme;
use Drupal\Component\Utility\String;
use Drupal\simpletest\WebTestBase;
/**
......
......@@ -7,7 +7,6 @@
namespace Drupal\text\Tests;
use Drupal\Component\Utility\String;
use Drupal\Component\Utility\Unicode;
use Drupal\field\Tests\String\StringFieldTest;
......
......@@ -7,7 +7,6 @@
namespace Drupal\user\Tests\Views;
use Drupal\Component\Utility\String;
use Drupal\user\Entity\Role;
use Drupal\user\Tests\Views\UserUnitTestBase;
use Drupal\views\Entity\View;
......
......@@ -7,7 +7,6 @@
namespace Drupal\views_ui\Tests;
use Drupal\Component\Utility\String;
use Drupal\language\Entity\ConfigurableLanguage;
use Drupal\views\Entity\View;
use Drupal\views\Views;
......
......@@ -117,7 +117,6 @@ public function testGetDataDefinition($is_multiple) {
* @dataProvider providerGetDataDefinition
* @covers ::getDataDefinition
* @uses \Drupal
* @uses Drupal\Component\Utility\String
* @uses Drupal\Component\Utility\SafeMarkup
*/
public function testGetDataDefinitionInvalidType($is_multiple) {
......
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