Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Josh <[email protected]>
  • Loading branch information
joshtrichards authored Dec 2, 2024
1 parent 1c90467 commit 593c105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function run($argument): void {

if ($realPath === false) {
$pathName = $dir->getPathname();
$this->log->warn("Skipping updater backup folder $pathname (not found)");
$this->log->warning("Skipping updater backup folder $pathname (not found)");

Check failure on line 59 in core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php

View workflow job for this annotation

GitHub Actions / static-code-analysis

UndefinedVariable

core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php:59:58: UndefinedVariable: Cannot find referenced variable $pathname (see https://psalm.dev/024)
continue;
}

Expand All @@ -77,7 +77,7 @@ public function run($argument): void {
}
$this->log->info('Background job to clean-up updater backups has finished');
} else {
$this->log->warn("Skipping updater backup clean-up - could not find updater backup folder $backupFolderPath");
$this->log->warning("Skipping updater backup clean-up - could not find updater backup folder $backupFolderPath");
}
}
}

0 comments on commit 593c105

Please sign in to comment.