You are here

private function PHPUnit_TextUI_Command::showError in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/TextUI/Command.php \PHPUnit_TextUI_Command::showError()
4 calls to PHPUnit_TextUI_Command::showError()
PHPUnit_TextUI_Command::handleArguments in vendor/phpunit/phpunit/src/TextUI/Command.php
Handles the command-line arguments.
PHPUnit_TextUI_Command::handleBootstrap in vendor/phpunit/phpunit/src/TextUI/Command.php
Loads a bootstrap file.
PHPUnit_TextUI_Command::handleLoader in vendor/phpunit/phpunit/src/TextUI/Command.php
Handles the loading of the PHPUnit_Runner_TestSuiteLoader implementation.
PHPUnit_TextUI_Command::handlePrinter in vendor/phpunit/phpunit/src/TextUI/Command.php
Handles the loading of the PHPUnit_Util_Printer implementation.

File

vendor/phpunit/phpunit/src/TextUI/Command.php, line 981

Class

PHPUnit_TextUI_Command
A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.

Code

private function showError($message) {
  $this
    ->printVersionString();
  print $message . "\n";
  exit(PHPUnit_TextUI_TestRunner::FAILURE_EXIT);
}