Skip to content

Commit 9e7aec1

Browse files
committed
Merge branch '3448-deprecation-8.1' of https://github.com/andypost/PHP_CodeSniffer
2 parents 8dd16e8 + f1fc1bf commit 9e7aec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Util/Timing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static function printRunTime($force=false)
6464

6565
if ($time > 60000) {
6666
$mins = floor($time / 60000);
67-
$secs = round((($time % 60000) / 1000), 2);
67+
$secs = round((fmod($time, 60000) / 1000), 2);
6868
$time = $mins.' mins';
6969
if ($secs !== 0) {
7070
$time .= ", $secs secs";

0 commit comments

Comments
 (0)