M3 Security Fixes for scan command pass 33 major code smell fixes and style fixes

This commit is contained in:
Mark Gregory
2026-09-17 11:34:41 +01:00
parent 0a05f05843
commit 0c445f89af
69 changed files with 1786 additions and 1752 deletions
+5 -6
View File
@@ -100,7 +100,7 @@ class ClosedOrderSaveXls extends Command
str_replace('-', '', $to),
$file,
! Storage::disk('publicCL')->exists($file),
'Last Month'
'Last Month',
);
}
@@ -122,7 +122,7 @@ class ClosedOrderSaveXls extends Command
str_replace('-', '', $to),
$file,
true,
'Current Month'
'Current Month',
);
}
@@ -134,7 +134,7 @@ class ClosedOrderSaveXls extends Command
string $to,
string $file,
bool $shouldGenerate,
string $label
string $label,
): void {
$this->info('From Date: ' . $from);
$this->info('To Date: ' . $to);
@@ -222,8 +222,7 @@ SQL;
Log::channel('dailyCron')->info(
'Maximum allowed records for Excel export is: ' . number_format($maxRecords)
. ' current records: ' . number_format($count)
. ' current records: ' . number_format($count),
);
}
}
}