(Grav GitSync) Automatic Commit from smokephil

This commit is contained in:
smokephil 2025-11-11 19:27:29 +01:00 committed by GitSync
parent d73d0ba519
commit 96a01e3ab4
260 changed files with 25905 additions and 16011 deletions

View file

@ -69,6 +69,7 @@ class CheckCommand extends ConsoleCommand
if (is_array($details)) {
$errors_row = [];
$warning_row = [];
$success_row = [];
if (isset($details['errors'])) {
@ -77,6 +78,12 @@ class CheckCommand extends ConsoleCommand
}
}
if (isset($details['warning'])) {
foreach ($details['warning'] as $key => $value) {
$warning_row[] = "<yellow>⚑</yellow> {$key}{$value}";
}
}
if (isset($details['success'])) {
foreach ($details['success'] as $key => $value) {
$success_row[] = "<green>✔</green> {$key}{$value}";
@ -86,6 +93,10 @@ class CheckCommand extends ConsoleCommand
foreach($errors_row as $e_row) {
$rows[] = ['', new TableCell($e_row, array('colspan' => 3)), ];
}
foreach($warning_row as $e_row) {
$rows[] = ['', new TableCell($e_row, array('colspan' => 3)), ];
}
foreach($success_row as $e_row) {
$rows[] = ['', new TableCell($e_row, array('colspan' => 3)), ];