diff core/tests/Drupal/KernelTests/AssertLegacyTrait.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
line wrap: on
line diff
--- a/core/tests/Drupal/KernelTests/AssertLegacyTrait.php	Thu Feb 28 13:11:55 2019 +0000
+++ b/core/tests/Drupal/KernelTests/AssertLegacyTrait.php	Thu May 09 15:34:47 2019 +0100
@@ -8,15 +8,19 @@
  * Protected methods are custom. Public static methods override methods of
  * \PHPUnit\Framework\Assert.
  *
- * @deprecated Scheduled for removal in Drupal 9.0.0. Use PHPUnit's native
+ * Deprecated Scheduled for removal in Drupal 10.0.0. Use PHPUnit's native
  *   assert methods instead.
+ *
+ * @todo https://www.drupal.org/project/drupal/issues/3031580 Note that
+ *   deprecations in this file do not use the @ symbol in Drupal 8 because this
+ *   will be removed in Drupal 10.0.0.
  */
 trait AssertLegacyTrait {
 
   /**
    * @see \Drupal\simpletest\TestBase::assert()
    *
-   * @deprecated Scheduled for removal in Drupal 9.0.0. Use self::assertTrue()
+   * Deprecated Scheduled for removal in Drupal 10.0.0. Use self::assertTrue()
    *   instead.
    */
   protected function assert($actual, $message = '') {
@@ -50,7 +54,7 @@
   /**
    * @see \Drupal\simpletest\TestBase::assertEqual()
    *
-   * @deprecated Scheduled for removal in Drupal 9.0.0. Use self::assertEquals()
+   * Deprecated Scheduled for removal in Drupal 10.0.0. Use self::assertEquals()
    *   instead.
    */
   protected function assertEqual($actual, $expected, $message = '') {
@@ -60,7 +64,7 @@
   /**
    * @see \Drupal\simpletest\TestBase::assertNotEqual()
    *
-   * @deprecated Scheduled for removal in Drupal 9.0.0. Use
+   * Deprecated Scheduled for removal in Drupal 10.0.0. Use
    *   self::assertNotEquals() instead.
    */
   protected function assertNotEqual($actual, $expected, $message = '') {
@@ -70,7 +74,7 @@
   /**
    * @see \Drupal\simpletest\TestBase::assertIdentical()
    *
-   * @deprecated Scheduled for removal in Drupal 9.0.0. Use self::assertSame()
+   * Deprecated Scheduled for removal in Drupal 10.0.0. Use self::assertSame()
    *   instead.
    */
   protected function assertIdentical($actual, $expected, $message = '') {
@@ -80,7 +84,7 @@
   /**
    * @see \Drupal\simpletest\TestBase::assertNotIdentical()
    *
-   * @deprecated Scheduled for removal in Drupal 9.0.0. Use
+   * Deprecated Scheduled for removal in Drupal 10.0.0. Use
    *   self::assertNotSame() instead.
    */
   protected function assertNotIdentical($actual, $expected, $message = '') {
@@ -90,7 +94,7 @@
   /**
    * @see \Drupal\simpletest\TestBase::assertIdenticalObject()
    *
-   * @deprecated Scheduled for removal in Drupal 9.0.0. Use self::assertEquals()
+   * Deprecated Scheduled for removal in Drupal 10.0.0. Use self::assertEquals()
    *   instead.
    */
   protected function assertIdenticalObject($actual, $expected, $message = '') {
@@ -103,7 +107,7 @@
   /**
    * @see \Drupal\simpletest\TestBase::pass()
    *
-   * @deprecated Scheduled for removal in Drupal 9.0.0. Use self::assertTrue()
+   * Deprecated Scheduled for removal in Drupal 10.0.0. Use self::assertTrue()
    *   instead.
    */
   protected function pass($message) {