mirror of
https://github.com/danog/psalm.git
synced 2024-12-14 18:36:58 +01:00
6612bb74a1
PHPUnit and many other applications use floor. Otherwise, the second-last lines would show 100% despite not being complete. ``` \sprintf( ' %' . $this->numTestsWidth . 'd / %' . $this->numTestsWidth . 'd (%3s%%)', $this->numTestsRun, $this->numTests, \floor(($this->numTestsRun / $this->numTests) * 100) ) ``` |
||
---|---|---|
.. | ||
DebugProgress.php | ||
DefaultProgress.php | ||
LongProgress.php | ||
Progress.php | ||
VoidProgress.php |