60 foreach (GeneralUtility::makeInstance(Check::class)->
getStatus() as $message) {
61 $statusMessageQueue->enqueue($message);
63 foreach (GeneralUtility::makeInstance(SetupCheck::class)->
getStatus() as $message) {
64 $statusMessageQueue->enqueue($message);
66 foreach (GeneralUtility::makeInstance(DatabaseCheck::class)->
getStatus() as $message) {
67 $statusMessageQueue->enqueue($message);
69 $reportStatusTypes = [
76 foreach ($statusMessageQueue->toArray() as $message) {
77 switch ($message->getSeverity()) {
79 $reportStatusTypes[
'error'][] = $message;
82 $reportStatusTypes[
'warning'][] = $message;
85 $reportStatusTypes[
'ok'][] = $message;
88 $reportStatusTypes[
'information'][] = $message;
91 $reportStatusTypes[
'notice'][] = $message;
97 foreach ($reportStatusTypes as $type => $statusObjects) {
98 $value = count($statusObjects);
101 foreach ($statusObjects as $statusObject) {
102 $message .=
'### ' . $statusObject->getTitle() .
': ' . $statusObject->getSeverity() . CRLF;
107 $pathToXliff =
'LLL:EXT:install/Resources/Private/Language/Report/locallang.xlf';
109 if ($type ===
'information') {
113 $message =
$GLOBALS[
'LANG']->sL($pathToXliff .
':environment.status.message.' . $type);
115 $severity = constant(
'\TYPO3\CMS\Reports\Status::' . strtoupper($type));
116 $statusArray[] = GeneralUtility::makeInstance(
118 $GLOBALS[
'LANG']->sL($pathToXliff .
':environment.status.title'),
119 sprintf(
$GLOBALS[
'LANG']->sL($pathToXliff .
':environment.status.value'), $value),