mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Make sure all written entries are correctly sorted
This commit is contained in:
parent
376a825161
commit
7b48584d24
@ -268,6 +268,9 @@ class ErrorBaseline
|
||||
$issueNode = $baselineDoc->createElement($issueType);
|
||||
|
||||
$issueNode->setAttribute('occurrences', (string)$existingIssueType['o']);
|
||||
|
||||
\sort($existingIssueType['s']);
|
||||
|
||||
foreach ($existingIssueType['s'] as $selection) {
|
||||
$codeNode = $baselineDoc->createElement('code');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user