From 33a3478a58a3484db10e895484b90c8d6617814d Mon Sep 17 00:00:00 2001 From: "J. King" Date: Sat, 23 Apr 2022 17:24:25 -0400 Subject: [PATCH] Avoid use of PHP 7.4 feature --- tests/cases/Misc/TestContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cases/Misc/TestContext.php b/tests/cases/Misc/TestContext.php index 93e343d..78bc11e 100644 --- a/tests/cases/Misc/TestContext.php +++ b/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]); } } }