@@ -21,6 +21,7 @@ public function testOnce(array $data, callable $filter, bool $expected): void
2121 );
2222 }
2323
24+ // phpcs:disable
2425 public static function onceDataProvider (): Iterator
2526 {
2627 yield [
@@ -36,15 +37,16 @@ public static function onceDataProvider(): Iterator
3637 yield [
3738 ['abc ' , 'def ' , 'some test ' ],
3839 static fn (string $ datum , int $ key ): bool => $ datum === 'def ' && $ key === 1 ,
39- true ,
40+ true
4041 ];
4142 yield [
4243 ['abc ' , 'def ' , 'some test ' ],
4344 static fn (string $ datum , int $ key ): bool => $ datum === 'def ' && $ key === 2 ,
44- false ,
45+ false
4546 ];
4647 }
4748
49+ // phpcs:enable
4850 #[DataProvider('twiceDataProvider ' )]
4951 public function testTwice (array $ data , callable $ filter , bool $ expected ): void
5052 {
@@ -54,6 +56,7 @@ public function testTwice(array $data, callable $filter, bool $expected): void
5456 );
5557 }
5658
59+ // phpcs:disable
5760 public static function twiceDataProvider (): Iterator
5861 {
5962 yield [
@@ -69,15 +72,16 @@ public static function twiceDataProvider(): Iterator
6972 yield [
7073 ['abc ' , 'def ' , 'some test ' ],
7174 static fn (string $ datum , int $ key ): bool => $ datum !== 'abc ' && $ key > 0 ,
72- true ,
75+ true
7376 ];
7477 yield [
7578 ['abc ' , 'def ' , 'some test ' ],
7679 static fn (string $ datum , int $ key ): bool => $ datum !== 'abc ' && $ key > 1 ,
77- false ,
80+ false
7881 ];
7982 }
8083
84+ // phpcs:enable
8185 #[DataProvider('timesDataProvider ' )]
8286 public function testTimes (array $ data , callable $ filter , bool $ expected ): void
8387 {
0 commit comments