Page MenuHomePhorge

Fix PhabricatorAuthInviteTestCase::testDuplicateInvite unit test
ClosedPublic

Authored by aklapper on Dec 5 2024, 18:04.
Tags
None
Referenced Files
F2977788: D25848.1739653330.diff
Fri, Feb 14, 21:02
F2977787: D25848.1739653329.diff
Fri, Feb 14, 21:02
F2977786: D25848.1739653328.diff
Fri, Feb 14, 21:02
F2977785: D25848.1739653327.diff
Fri, Feb 14, 21:02
F2977729: D25848.1739649496.diff
Fri, Feb 14, 19:58
F2977688: D25848.1739645023.diff
Fri, Feb 14, 18:43
F2967336: D25848.1739464518.diff
Wed, Feb 12, 16:35
F2965497: D25848.1739449260.diff
Wed, Feb 12, 12:21

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