mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
parent
21fc7a75a9
commit
988ae9496a
@ -282,12 +282,7 @@ class ErrorBaseline
|
|||||||
|
|
||||||
foreach ($existingIssueType['s'] as $selection) {
|
foreach ($existingIssueType['s'] as $selection) {
|
||||||
$codeNode = $baselineDoc->createElement('code');
|
$codeNode = $baselineDoc->createElement('code');
|
||||||
|
$codeNode->textContent = trim($selection);
|
||||||
/** @todo in major version release (e.g. Psalm 5) replace $selection with trim($selection)
|
|
||||||
* This will be a minor BC break as baselines generated will then not be compatible with Psalm
|
|
||||||
* versions from before PR https://github.com/vimeo/psalm/pull/6000
|
|
||||||
*/
|
|
||||||
$codeNode->textContent = $selection;
|
|
||||||
$issueNode->appendChild($codeNode);
|
$issueNode->appendChild($codeNode);
|
||||||
}
|
}
|
||||||
$fileNode->appendChild($issueNode);
|
$fileNode->appendChild($issueNode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user