diff --git a/core/modules/simpletest/simpletest.module b/core/modules/simpletest/simpletest.module
index 6dfccc2..a8d725c 100644
--- a/core/modules/simpletest/simpletest.module
+++ b/core/modules/simpletest/simpletest.module
@@ -304,9 +304,9 @@ function simpletest_phpunit_configuration_filepath() {
  * @deprecated in Drupal 8.3.x, will be removed before 9.0.0. Use
  *   Drupal\Core\Test\PhpUnitTestRunner::runCommand().
  */
-function simpletest_phpunit_run_command(array $unescaped_test_classnames, $phpunit_file, &$status = NULL) {
+function simpletest_phpunit_run_command(array $unescaped_test_classnames, $phpunit_file, &$status = NULL, &$output = NULL) {
   $runner = PhpUnitTestRunner::create(\Drupal::getContainer());
-  return $runner->runCommand($unescaped_test_classnames, $phpunit_file, $status);
+  return $runner->runCommand($unescaped_test_classnames, $phpunit_file, $status, $output);
 }
 
 /**
