Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Oct 22, 2024
1 parent e15abfe commit 075578f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 075578f

Please sign in to comment.