File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ public function install($package = null, $callback = null): Process
7878 {
7979 $ installCommand = $ this ->global ? 'global require ' : 'require ' ;
8080 $ process = new Process ($ package ? "composer $ installCommand $ package --ansi " : "composer install --ansi " );
81+ $ process ->setTimeout (null );
8182 $ process ->run ($ callback );
8283
8384 return $ process ;
@@ -92,6 +93,7 @@ public function remove($package, $callback = null): Process
9293 {
9394 $ removeCommand = $ this ->global ? 'global remove ' : 'remove ' ;
9495 $ process = new Process ("composer $ removeCommand $ package " );
96+ $ process ->setTimeout (null );
9597 $ process ->run ($ callback );
9698
9799 return $ process ;
@@ -105,6 +107,7 @@ public function remove($package, $callback = null): Process
105107 public function runScript (string $ script , $ callback = null ): Process
106108 {
107109 $ process = new Process ("composer run $ script " );
110+ $ process ->setTimeout (null );
108111 $ process ->run ($ callback );
109112
110113 return $ process ;
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ public function hasDependency($package): bool
8181 public function install ($ package = null , $ callback = null ): Process
8282 {
8383 $ process = new Process ("{$ this ->packageManager } add $ package " );
84+ $ process ->setTimeout (null );
8485 $ process ->run ($ callback );
8586
8687 return $ process ;
@@ -94,6 +95,7 @@ public function install($package = null, $callback = null): Process
9495 public function remove ($ package , $ callback = null ): Process
9596 {
9697 $ process = new Process ("{$ this ->packageManager } uninstall $ package " );
98+ $ process ->setTimeout (null );
9799 $ process ->run ($ callback );
98100
99101 return $ process ;
@@ -107,6 +109,7 @@ public function remove($package, $callback = null): Process
107109 public function runScript (string $ script , $ callback = null ): Process
108110 {
109111 $ process = new Process ("{$ this ->packageManager } run $ script " );
112+ $ process ->setTimeout (null );
110113 $ process ->run ($ callback );
111114
112115 return $ process ;
You can’t perform that action at this time.
0 commit comments