Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Analyser/ResultCache/ResultCacheManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
use function is_file;
use function ksort;
use function microtime;
use function round;
use function sha1_file;
use function sort;
use function sprintf;
Expand Down Expand Up @@ -297,7 +296,7 @@ public function restore(array $allAnalysedFiles, bool $debug, bool $onlyFiles, ?
if ($output->isVeryVerbose()) {
$elapsed = microtime(true) - $startTime;
$elapsedString = $elapsed > 5
? sprintf(' in %f seconds', round($elapsed, 1))
? sprintf(' in %.1f seconds', $elapsed)
: '';

$output->writeLineFormatted(sprintf(
Expand Down
Loading