m3 Security Fixes

This commit is contained in:
Mark Gregory
2026-09-16 17:16:25 +01:00
parent d68687f062
commit 8f37245e13
64 changed files with 4247 additions and 4426 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ class ExportSource extends Command
{
$project = basename(base_path());
$timestamp = now()->format('Ymd-His');
$downloads = rtrim((string) getenv('HOME'), '/').'/Downloads';
$downloads = rtrim((string) getenv('HOME'), '/') . '/Downloads';
$archive = "{$downloads}/{$project}-source-{$timestamp}.zip";
$this->info("Exporting {$project}...");
@@ -40,7 +40,7 @@ class ExportSource extends Command
return self::FAILURE;
}
$zip = new ZipArchive();
$zip = new ZipArchive;
if ($zip->open($archive) !== true) {
$this->error('Could not open ZIP.');