Skip to content

Commit b847bf6

Browse files
committed
clean up cs fix
1 parent 24cf58c commit b847bf6

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

tests/AtLeastTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ public function testTwice(array $data, callable $filter, bool $expected): void
5353
);
5454
}
5555

56-
// phpcs:disable
5756
public static function twiceDataProvider(): Iterator
5857
{
5958
yield [
@@ -69,16 +68,15 @@ public static function twiceDataProvider(): Iterator
6968
yield [
7069
['abc', 'def', 'some test'],
7170
static fn(string $datum, int $key): bool => $datum !== 'abc' && $key > 0,
72-
true
71+
true,
7372
];
7473
yield [
7574
['abc', 'def', 'some test'],
7675
static fn(string $datum, int $key): bool => $datum !== 'abc' && $key > 1,
77-
false
76+
false,
7877
];
7978
}
8079

81-
// phpcs:enable
8280
#[DataProvider('timesDataProvider')]
8381
public function testTimes(array $data, callable $filter, bool $expected): void
8482
{

tests/OnlyTest.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)