Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2688943
D25856.1734725307.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.1734725307.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:08 (14 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1020958
Default Alt Text
D25856.1734725307.diff (527 B)
Attached To
Mode
D25856: Add explicit cast to ArcanistUnitConsoleRenderer unit test
Attached
Detach File
Event Timeline
Log In to Comment