M3 Security Fixes for Pass 35

This commit is contained in:
Mark Gregory
2026-09-17 12:16:42 +01:00
parent e1824f399e
commit 502b226e44
10 changed files with 34 additions and 54 deletions
+6 -10
View File
@@ -32,12 +32,7 @@ class ClosedOrderSaveXls extends Command
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
/**
* Execute the console command.
*
* @return int
@@ -100,7 +95,7 @@ class ClosedOrderSaveXls extends Command
str_replace('-', '', $to),
$file,
! Storage::disk('publicCL')->exists($file),
'Last Month',
'Last Month'
);
}
@@ -122,7 +117,7 @@ class ClosedOrderSaveXls extends Command
str_replace('-', '', $to),
$file,
true,
'Current Month',
'Current Month'
);
}
@@ -134,7 +129,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,7 +217,8 @@ 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)
);
}
}
+1 -6
View File
@@ -28,12 +28,7 @@ class DeleteOldLabels extends Command
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
/**
* Execute the console command.
*
* @return int
+1 -6
View File
@@ -36,12 +36,7 @@ class GenerateGS1Cmd extends Command
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
/**
* Execute the console command.
*
* @return int
+1 -6
View File
@@ -29,12 +29,7 @@ class UtilitiesCmd extends Command
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
/**
* Execute the console command.
*
* @return int
+1 -6
View File
@@ -29,12 +29,7 @@ class WHSMetricsSaveXls extends Command
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
/**
* Execute the console command.
*
* @return int