bug
This commit is contained in:
parent
5f2019cce2
commit
ea2449b766
|
@ -102,8 +102,8 @@ class ComposerWalker {
|
|||
$di = array_search($dep, $deps);
|
||||
if ($di > $pi) {
|
||||
# si la dépendance se situe après le projet, la placer avant
|
||||
$deps = array_splice($deps, $di, 1);
|
||||
$deps = array_splice($deps, $pi, 0, [$dep]);
|
||||
array_splice($deps, $di, 1);
|
||||
array_splice($deps, $pi, 0, [$dep]);
|
||||
$modified = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue