We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b856f9 commit 10dfbe8Copy full SHA for 10dfbe8
src/Output.php
@@ -348,9 +348,9 @@ protected function writeMark($type)
348
349
protected function writePercent()
350
{
351
- $percent = floor($this->checkedFiles / $this->totalFileCount * 100);
+ $percent = $this->stringWidth(floor($this->checkedFiles / $this->totalFileCount * 100), 3);
352
$current = $this->stringWidth($this->checkedFiles, strlen($this->totalFileCount));
353
- $this->writeLine(" $current/$this->totalFileCount ($percent %)");
+ $this->writeLine(" $current/$this->totalFileCount ($percent%)");
354
}
355
356
/**
0 commit comments