$version = AnnotationTagTester::
getVersionFromManifestFileName('manifest-1.0.xml'
);
static::
assertNull($version);
} public function testDeprecatedWithoutPropertiesWillThrowException(): void
{ $deprecatedContent = '@deprecated';
static::
expectException(\InvalidArgumentException::
class);
static::
expectExceptionMessage('Could not find indicator manifest or tag in deprecation annotation'
);
$this->annotationTagTester->
validateDeprecatedAnnotations($deprecatedContent);
} public function testCorrectDeprecationTagDoesNotThrowException(): void
{ $deprecatedContent = '@deprecated tag:v6.5.0';
static::
expectNotToPerformAssertions();
$this->annotationTagTester->
validateDeprecatedAnnotations($deprecatedContent);
} public function testDeprecationTagWithoutVersionThrowsException(): void
{