This commit is contained in:
Jephté Clain 2024-05-07 12:48:27 +04:00
parent 5f2019cce2
commit ea2449b766
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}