--- ../tests/unit/PseudoTypes/ConditionalTest.php	2026-07-04 16:25:39.465253859 +0300
+++ ../tests/unit/PseudoTypes/ConditionalTest.php	2026-07-04 16:26:48.200792152 +0300
@@ -11,6 +11,7 @@
 use phpDocumentor\Reflection\Types\Object_;
 use phpDocumentor\Reflection\Types\Static_;
 use PHPUnit\Framework\TestCase;
+use PHPUnit\Framework\Attributes\DataProvider;
 
 final class ConditionalTest extends TestCase
 {
@@ -30,9 +31,7 @@
         $this->assertEquals(new Mixed_(), $type->underlyingType());
     }
 
-    /**
-     * @dataProvider provideToStringData
-     */
+    #[DataProvider('provideToStringData')]
     public function testToString(string $expectedResult, Conditional $type): void
     {
         $this->assertSame($expectedResult, (string) $type);
