Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / src / Tests / Update / DbUpdatesTrait.php
index 22185682504a566dfb3efab32e5023cde5a5c948..8a8ae846802aee82debb7a8f71beda6fef47a988 100644 (file)
@@ -2,6 +2,8 @@
 
 namespace Drupal\system\Tests\Update;
 
+@trigger_error(__NAMESPACE__ . '\DbUpdatesTrait is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use \Drupal\FunctionalTests\Update\DbUpdatesTrait instead. See https://www.drupal.org/node/2896640.', E_USER_DEPRECATED);
+
 use Drupal\Core\StringTranslation\StringTranslationTrait;
 use Drupal\Core\Url;
 
@@ -10,6 +12,10 @@ use Drupal\Core\Url;
  * pending db updates through the Update UI.
  *
  * This should be used only by classes extending \Drupal\simpletest\WebTestBase.
+ *
+ * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0.
+ *   Use \Drupal\FunctionalTests\Update\DbUpdatesTrait.
+ * @see https://www.drupal.org/node/2896640
  */
 trait DbUpdatesTrait {