Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / user / src / Tests / UserResetEmailTestTrait.php
index 2fbbbbf78d001732e537a4d8e88567082dd7da11..1272ebb5d5f98dc958b10600c5c5a1e6a529ad0a 100644 (file)
@@ -2,10 +2,17 @@
 
 namespace Drupal\user\Tests;
 
+@trigger_error(__NAMESPACE__ . '\UserResetEmailTestTrait is deprecated and scheduled for removal before Drupal 9.0.0. Add the method to the test class instead, see https://www.drupal.org/node/2999766', E_USER_DEPRECATED);
+
 use Drupal\Core\Test\AssertMailTrait;
 
 /**
  * Helper function for logging in from reset password email.
+ *
+ * @deprecated Scheduled for removal before Drupal 9.0.0.
+ *   Add the method to the test class instead.
+ *
+ * @see https://www.drupal.org/node/2999766
  */
 trait UserResetEmailTestTrait {