diff --git a/src/Psalm/Progress/DebugProgress.php b/src/Psalm/Progress/DebugProgress.php index 3a8fa711787..2bfe8327466 100644 --- a/src/Psalm/Progress/DebugProgress.php +++ b/src/Psalm/Progress/DebugProgress.php @@ -22,12 +22,12 @@ public function debug(string $message): void public function startScanningFiles(): void { - $this->write('Scanning files...' . "\n"); + $this->write("\n" . 'Scanning files...' . "\n\n"); } public function startAnalyzingFiles(): void { - $this->write('Analyzing files...' . "\n"); + $this->write("\n" . 'Analyzing files...' . "\n"); } public function startAlteringFiles(): void diff --git a/src/Psalm/Progress/LongProgress.php b/src/Psalm/Progress/LongProgress.php index 6184afab39d..dac1d228535 100644 --- a/src/Psalm/Progress/LongProgress.php +++ b/src/Psalm/Progress/LongProgress.php @@ -30,13 +30,13 @@ public function __construct(protected bool $print_errors = true, protected bool public function startScanningFiles(): void { $this->fixed_size = false; - $this->write('Scanning files...' . "\n"); + $this->write("\n" . 'Scanning files...' . "\n\n"); } public function startAnalyzingFiles(): void { $this->fixed_size = true; - $this->write("\n" . 'Analyzing files...' . "\n\n"); + $this->write("\n\n" . 'Analyzing files...' . "\n\n"); } public function startAlteringFiles(): void @@ -72,7 +72,7 @@ public function taskDone(int $level): void if (!$this->fixed_size) { if ($this->progress == 1 || $this->progress == $this->number_of_tasks || $this->progress % 10 == 0) { $this->write(sprintf( - "\r%s / %s?", + "\r%s / %s...", $this->progress, $this->number_of_tasks, ));