Commit f2a005dc authored by Felix Flor's avatar Felix Flor

sort the output alphabetical for a more consistent output

parent 275a9cb3
......@@ -83,6 +83,8 @@ function basicConsoleOutput($filesToCheck){
$countAllModules = count($neededModules);
sort($neededModules, SORT_STRING | SORT_FLAG_CASE);
echo "APHPBreakdown: Checking Modul Status ... ";
foreach ($neededModules as $neededModule) {
......
......@@ -83,6 +83,8 @@ function fullConsoleOutput($filesToCheck){
$countAllModules = count($neededModules);
sort($neededModules, SORT_STRING | SORT_FLAG_CASE);
echo "APHPBreakdown: Checking Modul Status ... ";
foreach ($neededModules as $neededModule) {
......@@ -108,10 +110,12 @@ function fullConsoleOutput($filesToCheck){
echo " List of all Modules [ \033[0;31m missing \033[0m | \033[0;32m installed \033[0m ] :\n";
foreach($neddedModulesInstallStatus as $module => $moduleStatus){
if(!$moduleStatus){
echo " - \033[0;31m$module\033[0m\n";
} else {
echo " - \033[0;32m$module\033[0m\n";
if($module != "Core"){
if(!$moduleStatus){
echo " - \033[0;31m$module\033[0m\n";
} else {
echo " - \033[0;32m$module\033[0m\n";
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment