src/Reports/Cbf.php 1 location
|
@@ 69-75 (lines=7) @@
|
66 |
|
} |
67 |
|
|
68 |
|
$timeTaken = ((microtime(true) - $startTime) * 1000); |
69 |
|
if ($timeTaken < 1000) { |
70 |
|
$timeTaken = round($timeTaken); |
71 |
|
echo " in {$timeTaken}ms".PHP_EOL; |
72 |
|
} else { |
73 |
|
$timeTaken = round(($timeTaken / 1000), 2); |
74 |
|
echo " in $timeTaken secs".PHP_EOL; |
75 |
|
} |
76 |
|
|
77 |
|
if ($fixed === true) { |
78 |
|
$newFilename = $report['filename'].$phpcsFile->config->suffix; |
src/Reports/Diff.php 1 location
|
@@ 89-95 (lines=7) @@
|
86 |
|
} |
87 |
|
|
88 |
|
$timeTaken = ((microtime(true) - $startTime) * 1000); |
89 |
|
if ($timeTaken < 1000) { |
90 |
|
$timeTaken = round($timeTaken); |
91 |
|
echo " in {$timeTaken}ms".PHP_EOL; |
92 |
|
} else { |
93 |
|
$timeTaken = round(($timeTaken / 1000), 2); |
94 |
|
echo " in $timeTaken secs".PHP_EOL; |
95 |
|
} |
96 |
|
|
97 |
|
ob_start(); |
98 |
|
} |