Fix PhanParamSuspiciousOrder by suppressing notification
This commit is contained in:
parent
6c7a7a8678
commit
012f284b3d
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue