Skip to content

Commit 4d9cce7

Browse files
committed
disable server:run cmd without Process component
1 parent e5f7117 commit 4d9cce7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Command/ServerRunCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ public function isEnabled()
3434
return false;
3535
}
3636

37+
if (!class_exists('Symfony\Component\Process\Process')) {
38+
return false;
39+
}
40+
3741
return parent::isEnabled();
3842
}
3943

0 commit comments

Comments
 (0)