From 012f284b3d698778eacaf94b20af59d1e2bc0a2b Mon Sep 17 00:00:00 2001 From: MDW Date: Sun, 17 Mar 2024 15:26:22 +0100 Subject: [PATCH] Fix PhanParamSuspiciousOrder by suppressing notification --- htdocs/core/modules/syslog/mod_syslog_file.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/modules/syslog/mod_syslog_file.php b/htdocs/core/modules/syslog/mod_syslog_file.php index a6df4ed82a5..3442877dca3 100644 --- a/htdocs/core/modules/syslog/mod_syslog_file.php +++ b/htdocs/core/modules/syslog/mod_syslog_file.php @@ -179,6 +179,7 @@ class mod_syslog_file extends LogHandler implements LogHandlerInterface $this->lastTime = $now; } + // @phan-suppress-next-line PhanParamSuspiciousOrder $message = dol_print_date(dol_now('gmt'), 'standard', 'gmt').$delay." ".sprintf("%-7s", $logLevels[$content['level']])." ".sprintf("%-15s", $content['ip'])." ".($this->ident > 0 ? str_pad('', $this->ident, ' ') : '').$content['message']; fwrite($filefd, $message."\n"); fclose($filefd);