Page MenuHomePhorge

Fix PhabricatorAuthInviteTestCase::testDuplicateInvite unit test
ClosedPublic

Authored by aklapper on Dec 5 2024, 18:04.
Tags
None
Referenced Files
F2875447: D25848.1736981686.diff
Tue, Jan 14, 22:54
F2874988: D25848.1736968273.diff
Tue, Jan 14, 19:11
F2874987: D25848.1736968271.diff
Tue, Jan 14, 19:11
F2874986: D25848.1736968270.diff
Tue, Jan 14, 19:11
F2874985: D25848.1736968269.diff
Tue, Jan 14, 19:11
F2874848: D25848.1736964699.diff
Tue, Jan 14, 18:11
F2874770: D25848.1736962363.diff
Tue, Jan 14, 17:32
F2866332: D25848.1736627371.diff
Fri, Jan 10, 20:29

Details

Summary

Explicitly cast $minutes to int to avoid an error in PHP 8.1 and later.

ERROR 8192: Implicit conversion from float to int loses precision at [/var/www/html/phorge/arcanist/src/unit/renderer/ArcanistUnitConsoleRenderer.php:86]

Closes T15968

Test Plan

Run bin/arc unit --everything.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

aklapper requested review of this revision.Dec 5 2024, 18:04

lgtm

src/unit/renderer/ArcanistUnitConsoleRenderer.php
85–86

Or directly up :)

This revision is now accepted and ready to land.Dec 5 2024, 22:07