private function PHPUnit_TextUI_TestRunner::showExtensionNotLoadedWarning in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/TextUI/TestRunner.php \PHPUnit_TextUI_TestRunner::showExtensionNotLoadedWarning()
@since Method available since Release 4.7.3
Parameters
$extension:
string $message:
1 call to PHPUnit_TextUI_TestRunner::showExtensionNotLoadedWarning()
- PHPUnit_TextUI_TestRunner::doRun in vendor/
phpunit/ phpunit/ src/ TextUI/ TestRunner.php
File
- vendor/
phpunit/ phpunit/ src/ TextUI/ TestRunner.php, line 989
Class
- PHPUnit_TextUI_TestRunner
- A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.
Code
private function showExtensionNotLoadedWarning($extension, $message = '') {
if (isset($this->missingExtensions[$extension])) {
return;
}
$this
->write("Warning:\t" . 'The ' . $extension . ' extension is not loaded' . "\n");
if (!empty($message)) {
$this
->write("\t\t" . $message . "\n");
}
$this->missingExtensions[$extension] = true;
}