We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b1261d commit ad609e9Copy full SHA for ad609e9
webapp/src/Service/CheckConfigService.php
@@ -479,9 +479,15 @@ public function checkContestsValidate(): ConfigCheckItem
479
480
$desc = '';
481
foreach ($contesterrors as $cid => $errors) {
482
- $desc .= "Contest: c$cid: " .
483
- /* @phpstan-ignore-next-line */
484
- (count($errors) == 0 ? 'no errors' : (string)$errors) ."\n" .$cperrors[$cid];
+ $desc .= "Contest: c$cid: ";
+ if (count($errors) == 0) {
+ $desc .= "no errors\n";
485
+ } else {
486
+ $desc .= "errors:\n";
487
+ foreach ($errors as $error) {
488
+ $desc .= " - " . $error->getPropertyPath() . ": " . $error->getMessage() . "\n";
489
+ }
490
491
}
492
493
$this->stopwatch->stop(__FUNCTION__);
0 commit comments