--- ../tests/unit/PseudoTypes/ObjectShapeTest.php	2026-07-04 16:02:52.097961300 +0300
+++ ../tests/unit/PseudoTypes/ObjectShapeTest.php	2026-07-04 16:03:22.906628562 +0300
@@ -6,6 +6,7 @@
 
 use phpDocumentor\Reflection\Types\Object_;
 use PHPUnit\Framework\TestCase;
+use PHPUnit\Framework\Attributes\DataProvider;
 
 final class ObjectShapeTest extends TestCase
 {
@@ -20,9 +21,7 @@
         $this->assertEquals(new Object_(), $objectShape->underlyingType());
     }
 
-    /**
-     * @dataProvider provideToStringData
-     */
+    #[DataProvider('provideToStringData')]
     public function testToString(string $expectedResult, ObjectShape $objectShape): void
     {
         $this->assertSame($expectedResult, (string) $objectShape);
