Fix minimum-stability handling in InitCommand, fixes #1421
parent
51eca2cdfc
commit
247b02d077
|
@ -89,6 +89,11 @@ EOT
|
||||||
unset($options['author']);
|
unset($options['author']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($options['stability'])) {
|
||||||
|
$options['minimum-stability'] = $options['stability'];
|
||||||
|
unset($options['stability']);
|
||||||
|
}
|
||||||
|
|
||||||
$options['require'] = isset($options['require']) ? $this->formatRequirements($options['require']) : new \stdClass;
|
$options['require'] = isset($options['require']) ? $this->formatRequirements($options['require']) : new \stdClass;
|
||||||
if (array() === $options['require']) {
|
if (array() === $options['require']) {
|
||||||
$options['require'] = new \stdClass;
|
$options['require'] = new \stdClass;
|
||||||
|
|
Loading…
Reference in New Issue