Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
danog authored Nov 28, 2023
2 parents af1b185 + a3024ad commit 4c0d4f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Psalm/Progress/DebugProgress.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/Psalm/Progress/LongProgress.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
));
Expand Down

0 comments on commit 4c0d4f9

Please sign in to comment.