Merge branch 'MDL-84592-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE

This commit is contained in:
Jun Pataleta
2025-02-20 11:45:44 +08:00
+6 -3
View File
@@ -167,12 +167,15 @@ EOF;
}
$violationdata .= sprintf(
" %.03d violations of '%s' (severity: %s)\n%s\n",
" %.03d violations of rule '%s' found (severity: %s)\n",
count($violation->nodes),
$violation->description,
$violation->id,
$violation->impact,
$nodedata
);
$violationdata .= " {$violation->help}\n";
$violationdata .= " {$violation->description}\n";
$violationdata .= " {$violation->helpUrl}\n";
$violationdata .= $nodedata;
}
throw new ExpectationException($violationdata, $this->getSession());