function TestStatus::error
8 calls to TestStatus::error()
- ProgressPrinter::beforeTestClassMethodErrored in vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ Default/ ProgressPrinter/ ProgressPrinter.php - ProgressPrinter::testErrored in vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ Default/ ProgressPrinter/ ProgressPrinter.php - ProgressPrinter::testTriggeredError in vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ Default/ ProgressPrinter/ ProgressPrinter.php - ResultCacheHandler::testErrored in vendor/
phpunit/ phpunit/ src/ Runner/ ResultCache/ ResultCacheHandler.php - TestCase::markErrorForInvalidDependency in vendor/
phpunit/ phpunit/ src/ Framework/ TestCase.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ TestStatus/ TestStatus.php, line 74
Class
- TestStatus
- @psalm-immutable
Namespace
PHPUnit\Framework\TestStatusCode
public static function error(string $message = '') : self {
return new Error($message);
}