Issue #3156885 by andypost, Gábor Hojtsy: Change...
Issue #3156885 by andypost, Gábor Hojtsy: Change \Drupal\error_test\Controller\ErrorTestController::generateWarnings() to throw E_NOTICE error compatible with PHP 8
(cherry picked from commit 9e3b13b6)
@@ -111,7 +111,7 @@ public function testUncaughtException() {
publicfunctiontestUncaughtFatalError(){
$fatal_error=[
'%type'=>'TypeError',
'@message'=>'Argument 1 passed to Drupal\error_test\Controller\ErrorTestController::Drupal\error_test\Controller\{closure}() must be of the type array, string given, called in '.\Drupal::root().'/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php on line 62',
'@message'=>'Argument 1 passed to Drupal\error_test\Controller\ErrorTestController::Drupal\error_test\Controller\{closure}() must be of the type array, string given, called in '.\Drupal::root().'/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php on line 63',