class SchemaDetectionResult
@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
@psalm-immutable
Hierarchy
- class \PHPUnit\TextUI\XmlConfiguration\SchemaDetectionResult
Expanded class hierarchy of SchemaDetectionResult
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ SchemaDetector/ SchemaDetectionResult.php, line 21
Namespace
PHPUnit\TextUI\XmlConfigurationView source
abstract class SchemaDetectionResult {
/**
* @psalm-assert-if-true SuccessfulSchemaDetectionResult $this
*/
public function detected() : bool {
return false;
}
/**
* @throws XmlException
*/
public function version() : string {
throw new XmlException('No supported schema was detected');
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
SchemaDetectionResult::detected | public | function | @psalm-assert-if-true SuccessfulSchemaDetectionResult $this | 1 |
SchemaDetectionResult::version | public | function | 1 |