File tree 2 files changed +22
-1
lines changed
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
59
59
}
60
60
61
61
/**
62
- * @return list< string>
62
+ * @return array<int, string>
63
63
*/
64
64
private function createBaseCommand (
65
65
InputInterface $ input
Original file line number Diff line number Diff line change @@ -270,6 +270,27 @@ public static function childProvider(): iterable
270
270
],
271
271
];
272
272
})();
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
+ })();
273
294
}
274
295
275
296
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