diff core/modules/user/src/Tests/UserResetEmailTestTrait.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/core/modules/user/src/Tests/UserResetEmailTestTrait.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/user/src/Tests/UserResetEmailTestTrait.php	Thu Feb 28 13:21:36 2019 +0000
@@ -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 {