Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2688939
D25856.1734725258.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
527 B
Referenced Files
None
Subscribers
None
D25856.1734725258.diff
View Options
diff --git a/src/unit/renderer/ArcanistUnitConsoleRenderer.php b/src/unit/renderer/ArcanistUnitConsoleRenderer.php
--- a/src/unit/renderer/ArcanistUnitConsoleRenderer.php
+++ b/src/unit/renderer/ArcanistUnitConsoleRenderer.php
@@ -83,7 +83,7 @@
private function formatTime($seconds) {
if ($seconds >= 60) {
$minutes = (int)floor($seconds / 60);
- return pht('%dm%02ds', $minutes, round($seconds % 60));
+ return pht('%dm%02ds', $minutes, round((int)$seconds % 60));
}
if ($seconds >= 1) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 20:07 (13 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1020958
Default Alt Text
D25856.1734725258.diff (527 B)
Attached To
Mode
D25856: Add explicit cast to ArcanistUnitConsoleRenderer unit test
Attached
Detach File
Event Timeline
Log In to Comment