@@ -21,7 +21,6 @@ public function testOnce(array $data, callable $filter, bool $expected): void
2121 );
2222 }
2323
24- // phpcs:disable
2524 public static function onceDataProvider (): Iterator
2625 {
2726 yield [
@@ -37,16 +36,15 @@ public static function onceDataProvider(): Iterator
3736 yield [
3837 ['abc ' , 'def ' , 'some test ' ],
3938 static fn (string $ datum , int $ key ): bool => $ datum === 'def ' && $ key === 1 ,
40- true
39+ true ,
4140 ];
4241 yield [
4342 ['abc ' , 'def ' , 'some test ' ],
4443 static fn (string $ datum , int $ key ): bool => $ datum === 'def ' && $ key === 2 ,
45- false
44+ false ,
4645 ];
4746 }
4847
49- // phpcs:enable
5048 #[DataProvider('twiceDataProvider ' )]
5149 public function testTwice (array $ data , callable $ filter , bool $ expected ): void
5250 {
@@ -56,7 +54,6 @@ public function testTwice(array $data, callable $filter, bool $expected): void
5654 );
5755 }
5856
59- // phpcs:disable
6057 public static function twiceDataProvider (): Iterator
6158 {
6259 yield [
@@ -72,16 +69,15 @@ public static function twiceDataProvider(): Iterator
7269 yield [
7370 ['abc ' , 'def ' , 'some test ' ],
7471 static fn (string $ datum , int $ key ): bool => $ datum !== 'abc ' && $ key > 0 ,
75- true
72+ true ,
7673 ];
7774 yield [
7875 ['abc ' , 'def ' , 'some test ' ],
7976 static fn (string $ datum , int $ key ): bool => $ datum !== 'abc ' && $ key > 1 ,
80- false
77+ false ,
8178 ];
8279 }
8380
84- // phpcs:enable
8581 #[DataProvider('timesDataProvider ' )]
8682 public function testTimes (array $ data , callable $ filter , bool $ expected ): void
8783 {
0 commit comments