"kernel test: This is a test message in test_function (line 456 of test.module).\n",
"kernel test: This is a test message in test.module on line 456 backtrace\nand-more-backtrace\n",
FALSE,
];
$data['verbose']=[
"<?php\n\$fatal = FALSE;\n$verbose\n$scriptBody",
"<details class=\"error-with-backtrace\"><summary><em class=\"placeholder\">kernel test</em>: This is a test message in <em class=\"placeholder\">test_function</em> (line <em class=\"placeholder\">456</em> of <em class=\"placeholder\">test.module</em>).</summary><pre class=\"backtrace\"></pre></details>",
"",
TRUE,
];
return$data;
}
protectedfunctiongetScriptBody(){
return<<<'EOT'
if (PHP_SAPI !== 'cli') {
return;
}
@@ -32,24 +64,13 @@ public function testFatalExitCode() {