Skip to content

Commit 061fb1d

Browse files
committed
feature #222 [Proposal] Sorts symfony.lock entries. (phpeek)
This PR was merged into the 1.0-dev branch. Discussion ---------- [Proposal] Sorts symfony.lock entries. Not sure if You guys would like that. This issue is most visible when removing and adding bundles at the same time. Happened to me when working on symfony/demo#717. Commits ------- 7bf407e Sorts symfony.lock entries.
2 parents 328db28 + 7bf407e commit 061fb1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Lock.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public function remove($name)
4646

4747
public function write()
4848
{
49+
ksort($this->lock);
4950
$this->json->write($this->lock);
5051
}
5152
}

0 commit comments

Comments
 (0)