Description
As discussed in https://github.com/crunzphp/crunz/issues/14 passing non-list array in second parameters breaks ProcessUtil and is not supported by new versions of symfony/process.
Example
Non-list param:
<?php
use Crunz\Schedule;
$schedule = new Schedule();
$paramsTest = $schedule->run(
PHP_BINARY,
[
'-v',
'--ini' => false,
]
);
List of strings in param:
<?php
use Crunz\Schedule;
$schedule = new Schedule();
$paramsTest = $schedule->run(
PHP_BINARY,
[
'-v',
'--ini',
'0',
]
);
Description
As discussed in https://github.com/crunzphp/crunz/issues/14 passing non-list array in second parameters breaks
ProcessUtil
and is not supported by new versions ofsymfony/process
.Example Non-list param:
List of strings in param: