@trigger_error(__CLASS__.' is deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use the \Drupal\Core\StringTranslation\TranslatableMarkup class instead. See https://www.drupal.org/node/2571255',E_USER_DEPRECATED);
@trigger_error(__CLASS__.' is deprecated in drupal:8.0.0 and is removed from drupal:11.0.0. Use the \Drupal\Core\StringTranslation\TranslatableMarkup class instead. See https://www.drupal.org/node/2571255',E_USER_DEPRECATED);
Changes for core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -19,7 +19,7 @@ class TranslationWrapperTest extends UnitTestCase {
* @group legacy
*/
publicfunctiontestTranslationWrapper(){
$this->expectDeprecation('Drupal\Core\StringTranslation\TranslationWrapper is deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use the \Drupal\Core\StringTranslation\TranslatableMarkup class instead. See https://www.drupal.org/node/2571255');
$this->expectDeprecation('Drupal\Core\StringTranslation\TranslationWrapper is deprecated in drupal:8.0.0 and is removed from drupal:11.0.0. Use the \Drupal\Core\StringTranslation\TranslatableMarkup class instead. See https://www.drupal.org/node/2571255');