--- ../test/MergeTest.php	2026-07-25 21:47:31.340039631 +0300
+++ ../test/MergeTest.php	2026-07-25 21:49:16.773076189 +0300
@@ -7,10 +7,12 @@
 use Amp\PHPUnit\TestException;
 use function Amp\async;
 use function Amp\delay;
+use PHPUnit\Framework\Attributes\DataProvider;
+use PHPUnit\Framework\Attributes\Depends;
 
 class MergeTest extends AsyncTestCase
 {
-    public function getArrays(): array
+    public static function getArrays(): array
     {
         return [
             [[\range(1, 3), \range(4, 6)], [1, 4, 2, 5, 3, 6]],
@@ -19,9 +21,7 @@
         ];
     }
 
-    /**
-     * @dataProvider getArrays
-     */
+    #[DataProvider('getArrays')]
     public function testMerge(array $array, array $expected): void
     {
         $pipelines = \array_map(
@@ -35,10 +35,8 @@
         self::assertSame($expected, $pipeline->toArray());
     }
 
-    /**
-     * @dataProvider getArrays
-     * @depends      testMerge
-     */
+    #[DataProvider('getArrays')]
+    #[Depends('testMerge')]
     public function testMergeWithConcurrentMap(array $array, array $expected): void
     {
         $mapper = static fn (int $value) => $value * 10;
@@ -55,9 +53,7 @@
         self::assertSame(\array_map($mapper, $expected), $pipeline->toArray());
     }
 
-    /**
-     * @depends testMerge
-     */
+    #[Depends('testMerge')]
     public function testMergeWithDelayedYields(): void
     {
         $pipelines = [];
@@ -81,9 +77,7 @@
         self::assertSame([1, 4, 5, 2, 6, 3], $pipeline->toArray());
     }
 
-    /**
-     * @depends testMerge
-     */
+    #[Depends('testMerge')]
     public function testDisposedMerge(): void
     {
         $pipelines = [];
@@ -103,9 +97,7 @@
         }
     }
 
-    /**
-     * @depends testMerge
-     */
+    #[Depends('testMerge')]
     public function testMergeWithFailedPipeline(): void
     {
         $exception = new TestException();
