1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-11 14:28:31 +01:00
phorge-arcanist/src
Andre Klapper ec68f53ba2 Add explicit cast to ArcanistUnitConsoleRenderer unit test
Summary:
D25848 was incomplete. `$seconds` itself is not an int but a float.
Thus explicitly also cast `$seconds` to int to avoid an error in PHP 8.1 and later.

Test Plan: Run `bin/arc unit --everything`

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Tags: #arcanist

Differential Revision: https://we.phorge.it/D25856
2025-01-15 14:41:36 +01:00
..
__tests__ Catch more product names in "pht()", and replace newly matched Arcanist product names 2022-04-25 16:45:55 -07:00
browse Improve arc-browse for php 8.1 2023-07-07 09:16:59 -07:00
channel PHPDoc: Replace "@return this" with "@return $this" 2024-09-06 13:01:40 +02:00
conduit Add missing variable names to PHPDoc @param of methods 2024-08-23 18:52:13 +02:00
config Remove all product name literals in "pht()" in Arcanist 2022-04-25 12:21:31 -07:00
configuration Remove trivial cases of unreachable code 2024-09-04 12:16:05 +02:00
console PHPDoc: Replace "@return this" with "@return $this" 2024-09-06 13:01:40 +02:00
difference Fix an initialization issue in VectorTree 2020-05-04 15:50:26 -07:00
differential Add missing variable names to PHPDoc @param of methods 2024-08-23 18:52:13 +02:00
docs Update Diviner documentation to reference Phorge instead of Phabricator for Arcanist. 2021-06-19 18:46:39 -06:00
engine Implement "arc work", to replace "arc feature" 2020-06-08 16:27:27 -07:00
error Add missing variable names to PHPDoc @param of methods 2024-08-23 18:52:13 +02:00
events Fully merge "libphutil/" into "arcanist/" 2020-02-12 15:17:38 -08:00
exception Provide some "preg_*" wrappers which raise exceptions on failure 2021-02-19 11:16:09 -08:00
extensions Changes to Arcanist for libphutil "extensions/" 2013-04-22 14:38:49 -07:00
filesystem PHPDoc: Replace "@return this" with "@return $this" 2024-09-06 13:01:40 +02:00
future Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-24 17:16:44 +02:00
hardpoint Fix invalid constructor call for ArcanistHardpointFutureList 2024-09-30 15:36:23 +02:00
hgdaemon PHPDoc: Replace "@return this" with "@return $this" 2024-09-06 13:01:40 +02:00
init Add missing variable names to PHPDoc @param of methods 2024-08-23 18:52:13 +02:00
inspector Support inspection of remote refs with "arc inspect remote(...)" 2020-06-30 13:07:25 -07:00
internationalization Add missing variable names to PHPDoc @param of methods 2024-08-23 18:52:13 +02:00
ip Fully merge "libphutil/" into "arcanist/" 2020-02-12 15:17:38 -08:00
land Add missing variable names to PHPDoc @param of methods 2024-08-23 18:52:13 +02:00
lexer Add missing variable names to PHPDoc @param of methods 2024-08-23 18:52:13 +02:00
lint PHPDoc: Replace "@return this" with "@return $this" 2024-09-06 13:01:40 +02:00
log Mostly remove "STDERR" and "STDOUT" constants from Arcanist 2022-05-03 11:58:45 -07:00
moduleutils PHPDoc: Replace "@return this" with "@return $this" 2024-09-06 13:01:40 +02:00
object Add missing variable names to PHPDoc @param of methods 2024-08-23 18:52:13 +02:00
parser JSON rendering: Avoid exception iterating on non-iterable objects 2025-01-10 11:51:31 +01:00
phage Fix $boot_length comparison in PhagePHPAgentBootloader 2024-08-15 20:24:47 +02:00
platform Rebrand: Add "path" entries to PlatformSymbols 2023-08-12 08:41:53 -07:00
progress Remove unused PhutilConsoleProgressSink::getWidth() 2024-09-04 11:45:57 +02:00
query Provide "gitsprintf(...)" and disambiguate Git ref selectors 2021-01-13 12:31:15 -08:00
readableserializer Add missing variable names to PHPDoc @param of methods 2024-08-23 18:52:13 +02:00
ref Improve arc-browse for php 8.1 2023-07-07 09:16:59 -07:00
repository Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-24 17:16:44 +02:00
runtime Replace all phurl.io short URIs with target URIs 2024-02-28 14:59:26 +01:00
serviceprofiler Provide additional Arcanist PHP 8.1 fixes 2021-12-09 16:42:19 -08:00
symbols PHPDoc: Replace "@return this" with "@return $this" 2024-09-06 13:01:40 +02:00
toolset Fix call to non-existing ArcanistAliasEffect::EFFECT_CONFIGURATION in ArcanistAliasEngine 2024-06-23 10:03:01 +02:00
unit Add explicit cast to ArcanistUnitConsoleRenderer unit test 2025-01-15 14:41:36 +01:00
upload PHPDoc: Replace "@return this" with "@return $this" 2024-09-06 13:01:40 +02:00
utils Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-23 11:08:41 +02:00
work Update "arc land" display of build failures, and rename "DisplayRef" to "RefView" 2020-06-30 06:27:56 -07:00
workflow PHPDoc: Replace "@return this" with "@return $this" 2024-09-06 13:01:40 +02:00
workingcopy Declare missing class properties 2024-07-03 09:05:34 +02:00
workingcopyidentity Add missing variable names to PHPDoc @param of methods 2024-08-23 18:52:13 +02:00
xsprintf Remove trivial cases of unreachable code 2024-09-04 12:16:05 +02:00
__phutil_library_init__.php Fully merge "libphutil/" into "arcanist/" 2020-02-12 15:17:38 -08:00
__phutil_library_map__.php Add "pht_list()", a translation wrapper for lists of items 2022-05-12 10:57:39 -07:00