class AnnotationsAreNotSupportedForInternalClassesException
@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\Metadata\AnnotationsAreNotSupportedForInternalClassesException extends \RuntimeException implements \PHPUnit\Exception
Expanded class hierarchy of AnnotationsAreNotSupportedForInternalClassesException
3 files declare their use of AnnotationsAreNotSupportedForInternalClassesException
- AnnotationParser.php in vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ AnnotationParser.php - DocBlock.php in vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ Annotation/ DocBlock.php - Registry.php in vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ Annotation/ Registry.php
File
-
vendor/
phpunit/ phpunit/ src/ Metadata/ Exception/ AnnotationsAreNotSupportedForInternalClassesException.php, line 21
Namespace
PHPUnit\MetadataView source
final class AnnotationsAreNotSupportedForInternalClassesException extends RuntimeException implements Exception {
/**
* @psalm-param class-string $className
*/
public function __construct(string $className) {
parent::__construct(sprintf('Annotations can only be parsed for user-defined classes, trying to parse annotations for class "%s"', $className));
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
AnnotationsAreNotSupportedForInternalClassesException::__construct | public | function | @psalm-param class-string $className |