Page MenuHomePhorge

Fix PhabricatorAuthInviteTestCase::testDuplicateInvite unit test
ClosedPublic

Authored by aklapper on Thu, Dec 5, 18:04.

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.Thu, Dec 5, 18:04

lgtm

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

Or directly up :)

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