Skip to content

Commit b24a992

Browse files
authored
Merge pull request #8 from magento-pangolin/MQE-2308
MQE-2308: MFTF SVC report does not capture per item change details
2 parents 3671ce9 + 18f4f1c commit b24a992

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Reporter/HtmlDbSchemaReporter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public function output(OutputInterface $output)
6161
'system',
6262
'xsd',
6363
'less',
64+
'mftf',
6465
];
6566

6667
foreach ($contexts as $context) {
@@ -138,7 +139,7 @@ protected function outputTable(OutputInterface $output, Report $report, $context
138139
$output->writeln(
139140
'<tr class="text-' . ($level > $allowedChangeLevel ? 'danger' : 'success') .
140141
'"><td>' . $levelStr . '</td><td>' . $target . '<br/>' . $location . '</td><td>' . $code . ' ' .
141-
$reason . '</td></tr>'
142+
htmlspecialchars($reason) . '</td></tr>'
142143
);
143144
}
144145
}

0 commit comments

Comments
 (0)