class Error
Same name in this branch
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Error.php \PhpParser\Node\Expr\Error
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Error.php \PhpParser\Error
- 11.1.x vendor/twig/twig/src/Error/Error.php \Twig\Error\Error
- 11.1.x core/lib/Drupal/Core/Utility/Error.php \Drupal\Core\Utility\Error
@psalm-immutable
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\Framework\TestStatus\TestStatus
Expanded class hierarchy of Error
60 string references to 'Error'
- AbstractWebDriver::curl in vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ AbstractWebDriver.php - Curl request to webdriver server.
- Application::doRun in vendor/
symfony/ console/ Application.php - Runs the current application.
- Auditor::audit in vendor/
composer/ composer/ src/ Composer/ Advisory/ Auditor.php - Checkstyle::generateFileReport in vendor/
squizlabs/ php_codesniffer/ src/ Reports/ Checkstyle.php - Generate a partial report for a single processed file.
- Code::generateFileReport in vendor/
squizlabs/ php_codesniffer/ src/ Reports/ Code.php - Generate a partial report for a single processed file.
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ TestStatus/ Error.php, line 19
Namespace
PHPUnit\Framework\TestStatusView source
final class Error extends Known {
/**
* @psalm-assert-if-true Error $this
*/
public function isError() : bool {
return true;
}
public function asInt() : int {
return 8;
}
public function asString() : string {
return 'error';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
Error::asInt | public | function | Overrides TestStatus::asInt | ||
Error::asString | public | function | Overrides TestStatus::asString | ||
Error::isError | public | function | @psalm-assert-if-true Error $this | Overrides TestStatus::isError | |
Known::isKnown | public | function | @psalm-assert-if-true Known $this | Overrides TestStatus::isKnown | |
TestStatus::$message | private | property | |||
TestStatus::deprecation | public static | function | |||
TestStatus::error | public static | function | |||
TestStatus::failure | public static | function | |||
TestStatus::from | public static | function | |||
TestStatus::incomplete | public static | function | |||
TestStatus::isDeprecation | public | function | @psalm-assert-if-true Deprecation $this | 1 | |
TestStatus::isFailure | public | function | @psalm-assert-if-true Failure $this | 1 | |
TestStatus::isIncomplete | public | function | @psalm-assert-if-true Incomplete $this | 1 | |
TestStatus::isMoreImportantThan | public | function | |||
TestStatus::isNotice | public | function | @psalm-assert-if-true Notice $this | 1 | |
TestStatus::isRisky | public | function | @psalm-assert-if-true Risky $this | 1 | |
TestStatus::isSkipped | public | function | @psalm-assert-if-true Skipped $this | 1 | |
TestStatus::isSuccess | public | function | @psalm-assert-if-true Success $this | 1 | |
TestStatus::isUnknown | public | function | @psalm-assert-if-true Unknown $this | 1 | |
TestStatus::isWarning | public | function | @psalm-assert-if-true Warning $this | 1 | |
TestStatus::message | public | function | |||
TestStatus::notice | public static | function | |||
TestStatus::risky | public static | function | |||
TestStatus::skipped | public static | function | |||
TestStatus::success | public static | function | |||
TestStatus::unknown | public static | function | |||
TestStatus::warning | public static | function | |||
TestStatus::__construct | private | function |