@@ -29,7 +29,7 @@ final class RowIteratorTest extends TestCase
2929 /**
3030 * @return list<array{0: int, 1: int, 2: int, 3: array{rewind: int, next: int, valid: int}}>
3131 */
32- public function seekProvider (): array
32+ public function provideCanSeekProperlyCases (): iterable
3333 {
3434 return [
3535 [2 , 2 , 2 , ['rewind ' => 1 , 'next ' => 0 , 'valid ' => 0 ]],
@@ -41,15 +41,15 @@ public function seekProvider(): array
4141 /**
4242 * @return list<array{0: int, 1: int, 2: int, 3: array{rewind: int, next: int}, 4: array{valid: list<bool>}}>
4343 */
44- public function getHighestRowProvider (): array
44+ public function provideCanDetermineHighestRowProperlyCases (): iterable
4545 {
4646 return [
4747 [1 , 1 , 2 , ['rewind ' => 2 , 'next ' => 2 ], ['valid ' => [true , true , false ]]],
4848 ];
4949 }
5050
5151 /**
52- * @dataProvider seekProvider
52+ * @dataProvider provideCanSeekProperlyCases
5353 *
5454 * @param array<string, int> $counts
5555 */
@@ -60,7 +60,7 @@ public function testCanSeekProperly(int $startRow, int $currentRow, int $seekToR
6060 }
6161
6262 /**
63- * @dataProvider getHighestRowProvider
63+ * @dataProvider provideCanDetermineHighestRowProperlyCases
6464 *
6565 * @param array<string, int> $counts
6666 * @param array<string, array> $calls
@@ -71,7 +71,7 @@ public function testCanDetermineHighestRowProperly(int $startRow, int $currentRo
7171 ++$ counts ['rewind ' ];
7272
7373 $ iterator = new RowIterator ($ this ->mockIterator ($ currentRow , $ counts , $ calls ), $ startRow );
74- static ::assertSame ($ highestRow , $ iterator ->getHighestRow ());
74+ self ::assertSame ($ highestRow , $ iterator ->getHighestRow ());
7575 }
7676
7777 /**
@@ -93,7 +93,7 @@ private function mockIterator(int $currentRow, ?array $counts = null, ?array $ca
9393 if ($ counts !== null ) {
9494 foreach ($ counts as $ method => $ count ) {
9595 $ iterator
96- ->expects (static ::exactly ($ count ))
96+ ->expects (self ::exactly ($ count ))
9797 ->method ($ method )
9898 ;
9999 }
@@ -102,7 +102,7 @@ private function mockIterator(int $currentRow, ?array $counts = null, ?array $ca
102102 if ($ calls !== null ) {
103103 foreach ($ calls as $ method => $ return ) {
104104 $ iterator
105- ->expects (static ::exactly (\count ($ return )))
105+ ->expects (self ::exactly (\count ($ return )))
106106 ->method ($ method )
107107 ->willReturnOnConsecutiveCalls (...$ return )
108108 ;
0 commit comments