Browse Source

Avoid use of PHP 7.4 feature

reader
J. King 2 years ago
parent
commit
33a3478a58
  1. 4
      tests/cases/Misc/TestContext.php

4
tests/cases/Misc/TestContext.php

@ -91,9 +91,9 @@ class TestContext extends \JKingWeb\Arsse\Test\AbstractTest {
'editionRange' => [[1, 100], [1, 100]],
];
foreach($tests as $k => $t) {
yield $k => [$k, ...$t, false];
yield $k => array_merge([$k], $t, [false]);
if (method_exists(ExclusionContext::class, $k)) {
yield "$k (not)" => [$k, ...$t, true];
yield "$k (not)" => array_merge([$k], $t, [true]);
}
}
}

Loading…
Cancel
Save