We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 545ee3c commit 7ce7891Copy full SHA for 7ce7891
src/Outputs/TextOutput.php
@@ -194,9 +194,9 @@ protected function writeMark($type)
194
195
protected function writePercent()
196
{
197
- $percent = floor($this->checkedFiles / $this->totalFileCount * 100);
+ $percent = $this->stringWidth(floor($this->checkedFiles / $this->totalFileCount * 100), 3);
198
$current = $this->stringWidth($this->checkedFiles, strlen($this->totalFileCount));
199
- $this->writeLine(" $current/$this->totalFileCount ($percent %)");
+ $this->writeLine(" $current/$this->totalFileCount ($percent%)");
200
}
201
202
/**
0 commit comments