class InvalidVersionOperatorException
@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\Util\InvalidVersionOperatorException extends \RuntimeException implements \PHPUnit\Util\Exception
Expanded class hierarchy of InvalidVersionOperatorException
2 files declare their use of InvalidVersionOperatorException
- AnnotationParser.php in vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ AnnotationParser.php - Requirement.php in vendor/
phpunit/ phpunit/ src/ Metadata/ Version/ Requirement.php
File
-
vendor/
phpunit/ phpunit/ src/ Util/ Exception/ InvalidVersionOperatorException.php, line 20
Namespace
PHPUnit\UtilView source
final class InvalidVersionOperatorException extends RuntimeException implements Exception {
public function __construct(string $operator) {
parent::__construct(sprintf('"%s" is not a valid version_compare() operator', $operator));
}
}