We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
shell_exec
1 parent 4b7547d commit f3cf455Copy full SHA for f3cf455
tests/Integration/Support/DependencyInstallerTest.php
@@ -19,7 +19,7 @@ protected function setUp(): void
19
{
20
parent::setUp();
21
22
- if (trim(shell_exec('which bun')) === '' || trim(shell_exec('which npm')) === '') {
+ if (! trim(shell_exec('which bun') ?? '') || ! trim(shell_exec('which npm') ?? '')) {
23
$this->markTestSkipped('This test requires the `bun` and `npm` binaries to be available.');
24
}
25
0 commit comments