diff --git a/core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module b/core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module index c028ad1..8772154 100644 --- a/core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module +++ b/core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module @@ -5,21 +5,21 @@ * Simpletest mock module for Ajax forms testing. */ -use Ajax\AddCssCommand; -use Ajax\SettingsCommand; -use Ajax\RestripeCommand; -use Ajax\RemoveCommand; -use Ajax\PrependCommand; -use Ajax\InsertCommand; -use Ajax\HtmlCommand; -use Ajax\InvokeCommand; -use Ajax\DataCommand; -use Ajax\CssCommand; -use Ajax\ChangedCommand; -use Ajax\BeforeCommand; -use Ajax\AppendCommand; -use Ajax\AlertCommand; -use Ajax\AfterCommand; +use Drupal\Core\Ajax\AddCssCommand; +use Drupal\Core\Ajax\SettingsCommand; +use Drupal\Core\Ajax\RestripeCommand; +use Drupal\Core\Ajax\RemoveCommand; +use Drupal\Core\Ajax\PrependCommand; +use Drupal\Core\Ajax\InsertCommand; +use Drupal\Core\Ajax\HtmlCommand; +use Drupal\Core\Ajax\InvokeCommand; +use Drupal\Core\Ajax\DataCommand; +use Drupal\Core\Ajax\CssCommand; +use Drupal\Core\Ajax\ChangedCommand; +use Drupal\Core\Ajax\BeforeCommand; +use Drupal\Core\Ajax\AppendCommand; +use Drupal\Core\Ajax\AlertCommand; +use Drupal\Core\Ajax\AfterCommand; use Drupal\Core\Ajax\AjaxResponse; use Drupal\Core\Form\FormStateInterface; diff --git a/core/modules/system/tests/modules/module_test/src/Controller/ModuleTestController.php b/core/modules/system/tests/modules/module_test/src/Controller/ModuleTestController.php index 99e404b..5bdb22a 100644 --- a/core/modules/system/tests/modules/module_test/src/Controller/ModuleTestController.php +++ b/core/modules/system/tests/modules/module_test/src/Controller/ModuleTestController.php @@ -1,8 +1,9 @@ insert('config') diff --git a/core/modules/views/tests/fixtures/update/duplicate-field-handler.php b/core/modules/views/tests/fixtures/update/duplicate-field-handler.php index d0ddf0b..32e74fb 100644 --- a/core/modules/views/tests/fixtures/update/duplicate-field-handler.php +++ b/core/modules/views/tests/fixtures/update/duplicate-field-handler.php @@ -8,7 +8,6 @@ use Drupal\Component\Serialization\Yaml; use Drupal\Core\Database\Database; - $connection = Database::getConnection(); $connection->insert('config') diff --git a/core/modules/views/tests/modules/views_test_data/views_test_data.module b/core/modules/views/tests/modules/views_test_data/views_test_data.module index b417ad3..bd917c7 100644 --- a/core/modules/views/tests/modules/views_test_data/views_test_data.module +++ b/core/modules/views/tests/modules/views_test_data/views_test_data.module @@ -7,7 +7,6 @@ use Drupal\Core\Form\FormStateInterface; - /** * Access callback for the generic handler test. * diff --git a/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php b/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php index fe839cd..93bd049 100644 --- a/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php +++ b/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php @@ -2,21 +2,21 @@ namespace Drupal\views_ui\Form\Ajax; -use Ajax\HighlightCommand; -use AjaxUI\SetFormCommand; -use Ajax\ReplaceTitleCommand; -use Ajax\TriggerPreviewCommand; -use Ajax\ShowButtonsCommand; use Drupal\Component\Utility\Html; +use Drupal\Core\Ajax\AjaxResponse; +use Drupal\Core\Ajax\CloseModalDialogCommand; use Drupal\Core\Ajax\OpenModalDialogCommand; use Drupal\Core\Form\FormBase; use Drupal\Core\Form\FormState; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Render\BubbleableMetadata; use Drupal\Core\Render\RenderContext; +use Drupal\views\Ajax\HighlightCommand; +use Drupal\views\Ajax\ReplaceTitleCommand; +use Drupal\views\Ajax\ShowButtonsCommand; +use Drupal\views\Ajax\TriggerPreviewCommand; use Drupal\views\ViewEntityInterface; -use Drupal\Core\Ajax\AjaxResponse; -use Drupal\Core\Ajax\CloseModalDialogCommand; +use Drupal\views_ui\Ajax\SetFormCommand; use Symfony\Component\HttpFoundation\RedirectResponse; /** diff --git a/core/modules/views_ui/views_ui.theme.inc b/core/modules/views_ui/views_ui.theme.inc index 5430474..3b58678 100644 --- a/core/modules/views_ui/views_ui.theme.inc +++ b/core/modules/views_ui/views_ui.theme.inc @@ -5,11 +5,11 @@ * Preprocessors and theme functions for the Views UI. */ -use Element\Checkboxes; -use Element\Radios; use Drupal\Component\Utility\SafeMarkup; use Drupal\Core\Form\FormState; use Drupal\Core\Render\Element; +use Drupal\Core\Render\Element\Checkboxes; +use Drupal\Core\Render\Element\Radios; use Drupal\Core\Url; /** diff --git a/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php b/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php index cd78d64..aa1f5d7 100644 --- a/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php +++ b/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php @@ -2,7 +2,7 @@ namespace Drupal\Tests\Core\PageCache; -use RequestPolicy\NoSessionOpen; +use Drupal\Core\PageCache\RequestPolicy\NoSessionOpen; use Drupal\Core\PageCache\RequestPolicyInterface; use Drupal\Tests\UnitTestCase; use Symfony\Component\HttpFoundation\Request; diff --git a/core/tests/bootstrap.php b/core/tests/bootstrap.php index e706e19..49e350a 100644 --- a/core/tests/bootstrap.php +++ b/core/tests/bootstrap.php @@ -9,7 +9,6 @@ use Drupal\Component\Assertion\Handle; - /** * Finds all valid extension directories recursively within a given directory. *