Skip to content

Commit f3cf455

Browse files
authored
test(support): correct setup using shell_exec (#1070)
1 parent 4b7547d commit f3cf455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/Support/DependencyInstallerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ protected function setUp(): void
1919
{
2020
parent::setUp();
2121

22-
if (trim(shell_exec('which bun')) === '' || trim(shell_exec('which npm')) === '') {
22+
if (! trim(shell_exec('which bun') ?? '') || ! trim(shell_exec('which npm') ?? '')) {
2323
$this->markTestSkipped('This test requires the `bun` and `npm` binaries to be available.');
2424
}
2525
}

0 commit comments

Comments
 (0)