Problem/Motivation

 ------ -------------------------------------------------------------
  Line   message_subscribe_email/message_subscribe_email.install
 ------ -------------------------------------------------------------
  15     Call to deprecated function entity_get_form_display():
         in drupal:8.8.0 and will be removed from drupal:9.0.0. Use
         EntityDisplayRepositoryInterface::getFormDisplay() instead.
 ------ -------------------------------------------------------------

 ------ -------------------------------------------------------------------------
  Line   message_subscribe_email/message_subscribe_email.module
 ------ -------------------------------------------------------------------------
  77     Call to deprecated function db_select():
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
         a database connection injected into your service from the container and
         call select() on it. For example,
 ------ -------------------------------------------------------------------------

 ------ ------------------------------------------------------------------------------------------------------------------------------------------
  Line   message_subscribe_email/tests/src/Functional/ViewsTest.php
 ------ ------------------------------------------------------------------------------------------------------------------------------------------
  16     Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class Drupal\Tests\message_subscribe_email\Functional\ViewsTest:
         in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
         \Drupal\Tests\node\Traits\ContentTypeCreationTrait instead.
  17     Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class Drupal\Tests\message_subscribe_email\Functional\ViewsTest:
         in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
         \Drupal\Tests\node\Traits\NodeCreationTrait instead.
 ------ ------------------------------------------------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   message_subscribe_email/tests/src/FunctionalJavascript/MessageSubscribeEmailTest.php
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  12     Class Drupal\Tests\message_subscribe_email\FunctionalJavascript\MessageSubscribeEmailTest extends deprecated class Drupal\FunctionalJavascriptTests\JavascriptTestBase:
         in Drupal 8.6.x, will be removed before Drupal 9.0.0.
         Use \Drupal\FunctionalJavascriptTests\WebDriverTestBase instead
  44     Call to method setUp() of deprecated class Drupal\Tests\BrowserTestBase:
         in Drupal 8.6.x, will be removed before Drupal 9.0.0.
         Use \Drupal\FunctionalJavascriptTests\WebDriverTestBase instead
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   message_subscribe_ui/tests/src/Functional/SubscriptionsBlockTest.php
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
  17     Usage of deprecated trait Drupal\Tests\taxonomy\Functional\TaxonomyTestTrait in class Drupal\Tests\message_subscribe_ui\Functional\SubscriptionsBlockTest:
         in Drupal 8.8.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait instead.
  18     Usage of deprecated trait Drupal\field\Tests\EntityReference\EntityReferenceTestTrait in class Drupal\Tests\message_subscribe_ui\Functional\SubscriptionsBlockTest:
         in Drupal 8.6.2 for removal before 9.0.0. Use
         Drupal\Tests\field\Traits\EntityReferenceTestTrait instead.
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/ContextTest.php
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------
  23     Usage of deprecated trait Drupal\field\Tests\EntityReference\EntityReferenceTestTrait in class Drupal\Tests\message_subscribe\Kernel\ContextTest:
         in Drupal 8.6.2 for removal before 9.0.0. Use
         Drupal\Tests\field\Traits\EntityReferenceTestTrait instead.
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/MessageSubscribeTestBase.php
 ------ -----------------------------------------------------------------------------------------------------------------------------------------------
  17     Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class Drupal\Tests\message_subscribe\Kernel\MessageSubscribeTestBase:
         in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
         \Drupal\Tests\node\Traits\ContentTypeCreationTrait instead.
  19     Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class Drupal\Tests\message_subscribe\Kernel\MessageSubscribeTestBase:
         in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
         \Drupal\Tests\node\Traits\NodeCreationTrait instead.
  20     Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class Drupal\Tests\message_subscribe\Kernel\MessageSubscribeTestBase:
         in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
         Drupal\Tests\user\Traits\UserCreationTrait instead.
  67     Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode:
         in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use
         mb_strtolower() instead.
 ------ -----------------------------------------------------------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------
  Line   tests/src/Kernel/SubscribersTest.php
 ------ -----------------------------------------------------------------------------------
  408    Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode:
         in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use
         mb_strtolower() instead.
 ------ -----------------------------------------------------------------------------------

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhedstrom created an issue. See original summary.

jhedstrom’s picture

Status: Active » Needs review
FileSize
6.17 KB

Status: Needs review » Needs work

The last submitted patch, 2: fix_deprecations-3085705-2.patch, failed testing. View results

jhedstrom’s picture

Had the wrong display (view instead of form.)

  • jhedstrom committed ef11d65 on 8.x-1.x
    Issue #3085705 by jhedstrom: Fix deprecations
    
jhedstrom’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.