Skip to content
Permalink
Browse files

Write Psalm version to baseline

  • Loading branch information...
ErikBooijCB authored and muglug committed May 24, 2019
1 parent 13b9e13 commit a1a9555f931de35f7b23871ff08a11308dfdcbbb
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Psalm/ErrorBaseline.php
@@ -204,6 +204,7 @@ private static function writeToFile(
) {
$baselineDoc = new \DOMDocument('1.0', 'UTF-8');
$filesNode = $baselineDoc->createElement('files');
$filesNode->setAttribute('psalm-version', PSALM_VERSION);
foreach ($groupedIssues as $file => $issueTypes) {
$fileNode = $baselineDoc->createElement('file');

0 comments on commit a1a9555

Please sign in to comment.
You can’t perform that action at this time.