@@ -267,7 +266,9 @@ protected function setUp(): void {
*/
publicfunction__get(string$name){
if($name==='randomGenerator'){
returnRandom::getGenerator();
@trigger_error('Accessing the randomGenerator property is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use getRandomGenerator() instead. See https://www.drupal.org/node/3358445',E_USER_DEPRECATED);
$this->expectDeprecation('Accessing the randomGenerator property is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use getRandomGenerator() instead. See https://www.drupal.org/node/3358445');
// We purposely test accessing an undefined property here. We need to tell
@@ -383,7 +382,9 @@ protected function setUp(): void {
*/
publicfunction__get(string$name){
if($name==='randomGenerator'){
returnRandom::getGenerator();
@trigger_error('Accessing the randomGenerator property is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use getRandomGenerator() instead. See https://www.drupal.org/node/3358445',E_USER_DEPRECATED);
$this->expectDeprecation('Accessing the randomGenerator property is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use getRandomGenerator() instead. See https://www.drupal.org/node/3358445');
// We purposely test accessing an undefined property here. We need to tell
@@ -70,7 +69,9 @@ protected function setUp(): void {
*/
publicfunction__get(string$name){
if($name==='randomGenerator'){
returnRandom::getGenerator();
@trigger_error('Accessing the randomGenerator property is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use getRandomGenerator() instead. See https://www.drupal.org/node/3358445',E_USER_DEPRECATED);