Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / shortcut / src / Tests / ShortcutTestBase.php
index 1e3196ceb4d1fe113606082e5fb37e8b715d5d92..584a6154c309210df43ace42bbe65524fa52aa5a 100644 (file)
@@ -2,6 +2,8 @@
 
 namespace Drupal\shortcut\Tests;
 
+@trigger_error(__NAMESPACE__ . '\ShortcutTestBase is deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\shortcut\Functional\ShortcutTestBase, see https://www.drupal.org/node/2906736.', E_USER_DEPRECATED);
+
 use Drupal\shortcut\Entity\Shortcut;
 use Drupal\shortcut\Entity\ShortcutSet;
 use Drupal\shortcut\ShortcutSetInterface;
@@ -9,6 +11,11 @@ use Drupal\simpletest\WebTestBase;
 
 /**
  * Defines base class for shortcut test cases.
+ *
+ * @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
+ *   Use \Drupal\Tests\shortcut\Functional\ShortcutTestBase.
+ *
+ * @see https://www.drupal.org/node/2906736
  */
 abstract class ShortcutTestBase extends WebTestBase {