mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Avoid use of PHP 7.4 feature
This commit is contained in:
parent
2489743d0f
commit
33a3478a58
1 changed files with 2 additions and 2 deletions
|
@ -91,9 +91,9 @@ class TestContext extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||||
'editionRange' => [[1, 100], [1, 100]],
|
'editionRange' => [[1, 100], [1, 100]],
|
||||||
];
|
];
|
||||||
foreach($tests as $k => $t) {
|
foreach($tests as $k => $t) {
|
||||||
yield $k => [$k, ...$t, false];
|
yield $k => array_merge([$k], $t, [false]);
|
||||||
if (method_exists(ExclusionContext::class, $k)) {
|
if (method_exists(ExclusionContext::class, $k)) {
|
||||||
yield "$k (not)" => [$k, ...$t, true];
|
yield "$k (not)" => array_merge([$k], $t, [true]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue