File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,10 @@ public function wait(?callable $output = null): ProcessResult
134134 return $ this ->getProcessResult ();
135135 }
136136
137+ // @mago-expect best-practices/no-empty-loop
138+ while ($ this ->invokeOutputHandlerWithNextLineOfOutput ()) {
139+ }
140+
137141 $ this ->remainingRunIterations = 0 ;
138142
139143 return $ this ->getProcessResult ();
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ public function test_concurrently(): void
4646 'echo world ' ,
4747 ]);
4848
49- var_dump ($ results , $ results ->count ());
5049 $ this ->assertSame (2 , $ results ->count ());
5150 $ this ->assertStringEqualsStringIgnoringLineEndings ("hello \n" , $ results [0 ]->output );
5251 $ this ->assertStringEqualsStringIgnoringLineEndings ("world \n" , $ results [1 ]->output );
You can’t perform that action at this time.
0 commit comments