From 45698e4bb9012766c1fb0a2bad64d2621707f9b5 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 23 Sep 2025 13:07:47 +0100 Subject: [PATCH] SendUsageTask: fixed php_uname() call with invalid mode this now throws in PHP 8.4. Previously it returned the same as php_uname(a). Presumably the intent was to capture the CPU arch and not a repeat of the machine field. closes #6811 --- src/stats/SendUsageTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats/SendUsageTask.php b/src/stats/SendUsageTask.php index d218774b5..c49315a72 100644 --- a/src/stats/SendUsageTask.php +++ b/src/stats/SendUsageTask.php @@ -88,7 +88,7 @@ class SendUsageTask extends AsyncTask{ "phpVersion" => PHP_VERSION, "machine" => php_uname("a"), "release" => php_uname("r"), - "platform" => php_uname("i") + "platform" => php_uname("m") ]; $data["players"] = [