2
0
forked from Wavyzz/dolibarr

Fix PhanParamSuspiciousOrder by suppressing notification

This commit is contained in:
MDW
2024-03-17 15:26:22 +01:00
parent 6c7a7a8678
commit 012f284b3d

View File

@@ -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);