function TestStatus::failure
Same name in this branch
- 11.1.x vendor/phpunit/php-code-coverage/src/TestStatus/TestStatus.php \SebastianBergmann\CodeCoverage\Test\TestStatus\TestStatus::failure()
5 calls to TestStatus::failure()
- ProgressPrinter::testFailed in vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ Default/ ProgressPrinter/ ProgressPrinter.php - ResultCacheHandler::testFailed in vendor/
phpunit/ phpunit/ src/ Runner/ ResultCache/ ResultCacheHandler.php - TestCase::performAssertionsOnOutput in vendor/
phpunit/ phpunit/ src/ Framework/ TestCase.php - TestCase::runBare in vendor/
phpunit/ phpunit/ src/ Framework/ TestCase.php - @internal This method is not covered by the backward compatibility promise for PHPUnit
- TestResultCollector::testFailed in vendor/
phpunit/ phpunit/ src/ Logging/ TestDox/ TestResult/ TestResultCollector.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ TestStatus/ TestStatus.php, line 69
Class
- TestStatus
- @psalm-immutable
Namespace
PHPUnit\Framework\TestStatusCode
public static function failure(string $message = '') : self {
return new Failure($message);
}