Commit b7db3f22 authored by Felix Flor's avatar Felix Flor

Merge branch '12-feature-change-way-of-output-on-cli' into 'master'

Resolve "FEATURE/change way of output on cli"

Closes #12

See merge request code-mesa/aphpbreakdown!13
parents fef4a38e c7ae0bbc
......@@ -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