diff --git a/core/Command/Background/Job.php b/core/Command/Background/Job.php index 66cb0ff5cf0..bc03f896361 100644 --- a/core/Command/Background/Job.php +++ b/core/Command/Background/Job.php @@ -84,7 +84,7 @@ class Job extends Command { $output->writeln('Something went wrong when trying to retrieve Job with ID ' . $jobId . ' from database'); return 1; } - /** 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($this->jobList); $job = $this->jobList->getById($jobId); diff --git a/cron.php b/cron.php index 3efe9faf744..117317c2fc4 100644 --- a/cron.php +++ b/cron.php @@ -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); }