Commit c7ae0bbc authored by Felix Flor's avatar Felix Flor

modules check are using rewrite line instead of clear line

parent fef4a38e
......@@ -26,8 +26,7 @@ function getNeededModules($filesToCheck){
foreach($filesToCheck as $fileToCheck){
system("clear");
echo "APHPBreakdown: Analyzing File [ ".++$i." / $countAllFiles ] \n";
echo "\rAPHPBreakdown: Analyzing File [ ".++$i." / $countAllFiles ]";
$tokens = token_get_all(file_get_contents($fileToCheck['fullpath']));
......@@ -79,7 +78,8 @@ function getNeededModules($filesToCheck){
}
}
echo "\n";
sort($neededModules, SORT_STRING | SORT_FLAG_CASE);
return $neededModules;
......
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