--- ../test/ConcatTest.php	2026-07-25 21:57:38.957649308 +0300
+++ ../test/ConcatTest.php	2026-07-25 21:59:22.007475531 +0300
@@ -8,10 +8,12 @@
 use Amp\Pipeline\Internal\ConcurrentChainedIterator;
 use function Amp\async;
 use function Amp\Future\awaitFirst;
+use PHPUnit\Framework\Attributes\DataProvider;
+use PHPUnit\Framework\Attributes\Depends;
 
 class ConcatTest extends AsyncTestCase
 {
-    public function getArrays(): array
+    public static function getArrays(): array
     {
         return [
             [[\range(1, 3), \range(4, 6)], \range(1, 6)],
@@ -20,9 +22,7 @@
         ];
     }
 
-    /**
-     * @dataProvider getArrays
-     */
+    #[DataProvider('getArrays')]
     public function testConcatIterator(array $array, array $expected): void
     {
         $iterators = \array_map(fn (array $array) => new ConcurrentArrayIterator($array), $array);
@@ -30,9 +30,7 @@
         self::assertSame($expected, $pipeline->toArray());
     }
 
-    /**
-     * @dataProvider getArrays
-     */
+    #[DataProvider('getArrays')]
     public function testConcatPipeline(array $array, array $expected): void
     {
         $pipeline = Pipeline::concat($array);
@@ -61,9 +59,7 @@
         self::assertSame(2, awaitFirst([$future1, $future2]));
     }
 
-    /**
-     * @depends testConcatPipeline
-     */
+    #[Depends('testConcatPipeline')]
     public function testConcatWithFailedPipeline(): void
     {
         $exception = new TestException;
@@ -99,10 +95,8 @@
         Pipeline::concat([1]);
     }
 
-    /**
-     * @dataProvider getArrays
-     */
-    public function testIsComplete(array $arrays): void
+    #[DataProvider('getArrays')]
+    public function testIsComplete(array $arrays, array $_expected): void
     {
         $iterator = new ConcurrentChainedIterator(
             \array_map(fn (array $array) => new ConcurrentArrayIterator($array), $arrays),
