From 075578f9726b7cd6fe21beade8cf9b886c582ca4 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 22 Oct 2024 23:14:16 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- src/functions.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/functions.php b/src/functions.php index 96e40f86..b9aa35f4 100644 --- a/src/functions.php +++ b/src/functions.php @@ -76,9 +76,8 @@ function artisan(Contracts\TestCase|ApplicationContract $context, string $comman */ function remote(array|string $command, array|string $env = []): Process { - $phpBinary = transform( - \defined('PHP_BINARY') ? PHP_BINARY : \Illuminate\Support\php_binary(), - static fn ($phpBinary) => ProcessUtils::escapeArgument((string) $phpBinary) + $phpBinary = ProcessUtils::escapeArgument( + \Illuminate\Support\php_binary() ); $binary = \defined('TESTBENCH_DUSK') ? 'testbench-dusk' : 'testbench';