diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-03-12 11:23:35 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-03-12 11:23:35 +0100 |
commit | 65bad47e7ecc308cde017d267c914b25b6cf29d9 (patch) | |
tree | fd2575ee770de811486acc6a034d3ee981b3250e /cron.php | |
parent | 75751d51de9185982f43e3d72206f1741939dfda (diff) | |
download | nextcloud-server-65bad47e7ecc308cde017d267c914b25b6cf29d9.tar.gz nextcloud-server-65bad47e7ecc308cde017d267c914b25b6cf29d9.zip |
fix: Suppress psalm errors about deprecated execute method, we have to use it for now
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -172,7 +172,7 @@ try { $memoryBefore = memory_get_usage(); $memoryPeakBefore = memory_get_peak_usage(); - /** Calling execute until it is removed, then will switch to start */ + /** @psalm-suppress DeprecatedMethod Calling execute until it is removed, then will switch to start */ $job->execute($jobList); $memoryAfter = memory_get_usage(); @@ -208,7 +208,7 @@ try { $job = $jobList->getNext(); if ($job != null) { $logger->debug('WebCron call has selected job with ID ' . strval($job->getId()), ['app' => 'cron']); - /** Calling execute until it is removed, then will switch to start */ + /** @psalm-suppress DeprecatedMethod Calling execute until it is removed, then will switch to start */ $job->execute($jobList); $jobList->setLastJob($job); } |