From 158b9a855f521ff0f424eead17b45fc03095f068 Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Fri, 28 Feb 2025 15:50:47 +0000 Subject: [PATCH] Remove `sprintf` from plain string without args. --- webapp/src/Service/CheckConfigService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/Service/CheckConfigService.php b/webapp/src/Service/CheckConfigService.php index 3cb2ad7e47..3c2544bbe5 100644 --- a/webapp/src/Service/CheckConfigService.php +++ b/webapp/src/Service/CheckConfigService.php @@ -227,7 +227,7 @@ public function checkMysqlSettings(): ConfigCheckItem $desc = sprintf(" - `max_connections` is set to `%s`.\n", $vars['max_connections']); if ($vars['max_connections'] < 300) { $result = 'W'; - $desc .= sprintf("In our experience you need at least `300`, but better `1000` connections to prevent connection refusal during the contest.\n"); + $desc .= "In our experience you need at least `300`, but better `1000` connections to prevent connection refusal during the contest.\n"; } if ($vars['innodb_log_file_size'] < 10 * $max_inout) {