File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public function createChildCommand(InputInterface $input): array
5959 }
6060
6161 /**
62- * @return list< string>
62+ * @return array<int, string>
6363 */
6464 private function createBaseCommand (
6565 InputInterface $ input
Original file line number Diff line number Diff line change @@ -270,6 +270,27 @@ public static function childProvider(): iterable
270270 ],
271271 ];
272272 })();
273+
274+ yield 'no PHP executable or command ' => (static function () use (
275+ $ scriptPath
276+ ) {
277+ [$ input , $ commandDefinition ] = self ::createInput (
278+ [],
279+ [],
280+ );
281+
282+ return [
283+ '' ,
284+ $ scriptPath ,
285+ '' ,
286+ $ commandDefinition ,
287+ $ input ,
288+ [
289+ $ scriptPath ,
290+ '--child ' ,
291+ ],
292+ ];
293+ })();
273294 }
274295
275296 public function test_it_cannot_create_a_factory_with_an_invalid_script_path (): void
You can’t perform that action at this time.
0 commit comments