Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jun 12, 2024

Backport of PR #45804

@backportbot backportbot bot added bug 3. to review Waiting for reviews labels Jun 12, 2024
@backportbot backportbot bot added this to the Nextcloud 29.0.3 milestone Jun 12, 2024
@ChristophWurst ChristophWurst enabled auto-merge June 12, 2024 10:49
@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 12, 2024
$timeSpent = $timeAfter - $timeBefore;
if ($timeSpent > $cronInterval) {
$logLevel = match (true) {
$timeSpent > $cronInterval * 128 => \OCP\ILogger::FATAL,

Check notice

Code scanning / Psalm

DeprecatedClass

Class OCP\ILogger is deprecated
if ($timeSpent > $cronInterval) {
$logLevel = match (true) {
$timeSpent > $cronInterval * 128 => \OCP\ILogger::FATAL,
$timeSpent > $cronInterval * 64 => \OCP\ILogger::ERROR,

Check notice

Code scanning / Psalm

DeprecatedClass

Class OCP\ILogger is deprecated
$logLevel = match (true) {
$timeSpent > $cronInterval * 128 => \OCP\ILogger::FATAL,
$timeSpent > $cronInterval * 64 => \OCP\ILogger::ERROR,
$timeSpent > $cronInterval * 16 => \OCP\ILogger::WARN,

Check notice

Code scanning / Psalm

DeprecatedClass

Class OCP\ILogger is deprecated
$timeSpent > $cronInterval * 128 => \OCP\ILogger::FATAL,
$timeSpent > $cronInterval * 64 => \OCP\ILogger::ERROR,
$timeSpent > $cronInterval * 16 => \OCP\ILogger::WARN,
$timeSpent > $cronInterval * 8 => \OCP\ILogger::INFO,

Check notice

Code scanning / Psalm

DeprecatedClass

Class OCP\ILogger is deprecated
$timeSpent > $cronInterval * 64 => \OCP\ILogger::ERROR,
$timeSpent > $cronInterval * 16 => \OCP\ILogger::WARN,
$timeSpent > $cronInterval * 8 => \OCP\ILogger::INFO,
default => \OCP\ILogger::DEBUG,

Check notice

Code scanning / Psalm

DeprecatedClass

Class OCP\ILogger is deprecated
@ChristophWurst ChristophWurst merged commit ba46d03 into stable29 Jun 12, 2024
@ChristophWurst ChristophWurst deleted the backport/45804/stable29 branch June 12, 2024 13:10
@blizzz blizzz mentioned this pull request Jun 12, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants