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 26, 2024
1 parent 3737cfd commit 9e8f362
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"php": "^8.2",
"composer-runtime-api": "^2.2",
"laravel/dusk": "^8.1",
"laravel/framework": "^11.26",
"laravel/serializable-closure": "^1.3",
"orchestra/dusk-updater": "^2.6",
"orchestra/testbench": "^9.5",
Expand Down
3 changes: 2 additions & 1 deletion src/DuskServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Orchestra\Testbench\Dusk;

use Orchestra\Testbench\Dusk\Exceptions\UnableToStartServer;
use Symfony\Component\Process\PhpExecutableFinder;
use Symfony\Component\Process\Process;

use function Illuminate\Support\php_binary;
Expand Down Expand Up @@ -227,7 +228,7 @@ protected function guardServerStarting(): void
protected function prepareCommand(): array
{
return [
php_binary(),
function_exists(php_binary::class) ? php_binary() : (string) (new PhpExecutableFinder)->find(false),
'-S',
\sprintf('%s:%s', $this->host, $this->port),
join_paths(__DIR__, 'server.php'),
Expand Down

0 comments on commit 9e8f362

Please sign in to comment.