comparison core/modules/simpletest/src/RandomGeneratorTrait.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
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
1 <?php 1 <?php
2 2
3 namespace Drupal\simpletest; 3 namespace Drupal\simpletest;
4
5 @trigger_error(__NAMESPACE__ . '\RandomGeneratorTrait is deprecated in Drupal 8.1.1, will be removed before Drupal 9.0.0. Use \Drupal\Tests\RandomGeneratorTrait instead.', E_USER_DEPRECATED);
4 6
5 use Drupal\Tests\RandomGeneratorTrait as BaseGeneratorTrait; 7 use Drupal\Tests\RandomGeneratorTrait as BaseGeneratorTrait;
6 8
7 /** 9 /**
8 * Provides random generator utility methods. 10 * Provides random generator utility methods.
9 * 11 *
10 * @deprecated in Drupal 8.1.1, will be removed before Drupal 9.0.0. 12 * @deprecated in Drupal 8.1.1, will be removed before Drupal 9.0.0. Use
11 * The trait was moved to another namespace. 13 * \Drupal\Tests\RandomGeneratorTrait instead.
12 * 14 *
13 * @see \Drupal\Tests 15 * @see \Drupal\Tests
14 */ 16 */
15 trait RandomGeneratorTrait { 17 trait RandomGeneratorTrait {
16 use BaseGeneratorTrait; 18 use BaseGeneratorTrait;