@@ -22,14 +22,14 @@ class AnnotationTest extends TestCase
2222 /**
2323 * @Description ("Legacy description with `markdown`", type = DescriptionType::MARKDOWN)
2424 */
25- #[Attribute \Title ('Legacy description annotation is reported as test description ' )]
25+ #[Attribute \DisplayName ('Legacy description annotation is reported as test description ' )]
2626 public function testLegacyDescriptionAnnotation (): void
2727 {
2828 $ this ->expectNotToPerformAssertions ();
2929 }
3030
3131 #[
32- Attribute \Title ('Native description annotation is reported as test description ' ),
32+ Attribute \DisplayName ('Native description annotation is reported as test description ' ),
3333 Attribute \Description('Test native description with `markdown` ' ),
3434 ]
3535 public function testNativeDescriptionAnnotation (): void
@@ -49,14 +49,14 @@ public function testMixedDescriptionAnnotation(): void
4949 /**
5050 * @Severity (level = SeverityLevel::MINOR)
5151 */
52- #[Attribute \Title ('Legacy severity annotation is reported as test severity ' )]
52+ #[Attribute \DisplayName ('Legacy severity annotation is reported as test severity ' )]
5353 public function testLegacySeverityAnnotation (): void
5454 {
5555 $ this ->expectNotToPerformAssertions ();
5656 }
5757
5858 #[
59- Attribute \Title ('Native severity annotation is reported as test severity ' ),
59+ Attribute \DisplayName ('Native severity annotation is reported as test severity ' ),
6060 Attribute \Severity(Attribute \Severity::CRITICAL ),
6161 ]
6262 public function testNativeSeverityAnnotation (): void
@@ -68,7 +68,7 @@ public function testNativeSeverityAnnotation(): void
6868 * @Severity (level = SeverityLevel::MINOR)
6969 */
7070 #[
71- Attribute \Title ('Legacy severity annotation overrides native one ' ),
71+ Attribute \DisplayName ('Legacy severity annotation overrides native one ' ),
7272 Attribute \Severity(Attribute \Severity::CRITICAL ),
7373 ]
7474 public function testMixedSeverityAnnotation (): void
@@ -79,7 +79,7 @@ public function testMixedSeverityAnnotation(): void
7979 /**
8080 * @Parameter (name = "foo", value = "legacy foo")
8181 */
82- #[Attribute \Title ('Legacy parameter ' )]
82+ #[Attribute \DisplayName ('Legacy parameter ' )]
8383 public function testLegacyParameterAnnotation (): void
8484 {
8585 $ this ->expectNotToPerformAssertions ();
0 commit comments