Skip to content

Commit 701a6d8

Browse files
fix tests [no_release] (#29)
* fix tests [no_release] ## Checklist - [NA] I have understood, reviewed, and tested all AI outputs before use - [NA] All AI instructions respect security, IP, and privacy rules * PHPStan logging fix --------- Co-authored-by: James Hill <james-hill-matomo@users.noreply.github.com>
1 parent deee3d4 commit 701a6d8

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

Slack.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,11 @@ public function sendReport(
302302
// Safeguard against sending the same report twice to the same Slack channel (unless $force is true)
303303
if (!$force && $this->reportAlreadySent($report, $period)) {
304304
$logger->warning(
305-
'Preventing the same scheduled report from being sent again (report #%s for period "%s")',
306-
$report['idreport'],
307-
$prettyDate
305+
sprintf(
306+
'Preventing the same scheduled report from being sent again (report #%s for period "%s")',
307+
$report['idreport'],
308+
$prettyDate
309+
)
308310
);
309311
return;
310312
}
894 Bytes
Loading

0 commit comments

Comments
 (0)