class Success
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/Framework/TestStatus/Success.php \PHPUnit\Framework\TestStatus\Success
@psalm-immutable
Hierarchy
- class \SebastianBergmann\CodeCoverage\Test\TestStatus\TestStatus
Expanded class hierarchy of Success
9 string references to 'Success'
- DbUpdateController::results in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Displays results of the update script with any accompanying errors.
- File::createPopoverContentForTest in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ File.php - File::renderSourceWithBranchCoverage in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ File.php - File::renderSourceWithPathCoverage in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ File.php - HtmlRenderer::reduce in vendor/
phpunit/ phpunit/ src/ Logging/ TestDox/ HtmlRenderer.php - @psalm-return array<string, 'success'|'defect'>
File
-
vendor/
phpunit/ php-code-coverage/ src/ TestStatus/ Success.php, line 15
Namespace
SebastianBergmann\CodeCoverage\Test\TestStatusView source
final class Success extends Known {
/**
* @psalm-assert-if-true Success $this
*/
public function isSuccess() : bool {
return true;
}
public function asString() : string {
return 'success';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
Known::isKnown | public | function | @psalm-assert-if-true Known $this | Overrides TestStatus::isKnown | |
Success::asString | public | function | Overrides TestStatus::asString | ||
Success::isSuccess | public | function | @psalm-assert-if-true Success $this | Overrides TestStatus::isSuccess | |
TestStatus::failure | public static | function | |||
TestStatus::isFailure | public | function | @psalm-assert-if-true Failure $this | 1 | |
TestStatus::isUnknown | public | function | @psalm-assert-if-true Unknown $this | 1 | |
TestStatus::success | public static | function | |||
TestStatus::unknown | public static | function |