From f237c1ac8c094c3403e25f5cf71c3a894a0ae7d1 Mon Sep 17 00:00:00 2001 From: dyzulk <66510723+dyzulk@users.noreply.github.com> Date: Wed, 7 Jan 2026 10:16:33 +0700 Subject: [PATCH] feat: complete Artisan command standardization (naming, class names, and scheduler sync) --- .../Commands/{MagicLinkCommand.php => TrustLabMagicLink.php} | 2 +- ...ifyCertificateExpirations.php => TrustLabNotifyExpiring.php} | 2 +- routes/console.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename app/Console/Commands/{MagicLinkCommand.php => TrustLabMagicLink.php} (97%) rename app/Console/Commands/{NotifyCertificateExpirations.php => TrustLabNotifyExpiring.php} (98%) diff --git a/app/Console/Commands/MagicLinkCommand.php b/app/Console/Commands/TrustLabMagicLink.php similarity index 97% rename from app/Console/Commands/MagicLinkCommand.php rename to app/Console/Commands/TrustLabMagicLink.php index b680ef9..fb7ff57 100644 --- a/app/Console/Commands/MagicLinkCommand.php +++ b/app/Console/Commands/TrustLabMagicLink.php @@ -7,7 +7,7 @@ use Illuminate\Console\Command; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Str; -class MagicLinkCommand extends Command +class TrustLabMagicLink extends Command { /** * The name and signature of the console command. diff --git a/app/Console/Commands/NotifyCertificateExpirations.php b/app/Console/Commands/TrustLabNotifyExpiring.php similarity index 98% rename from app/Console/Commands/NotifyCertificateExpirations.php rename to app/Console/Commands/TrustLabNotifyExpiring.php index c55c394..60e7552 100644 --- a/app/Console/Commands/NotifyCertificateExpirations.php +++ b/app/Console/Commands/TrustLabNotifyExpiring.php @@ -4,7 +4,7 @@ namespace App\Console\Commands; use Illuminate\Console\Command; -class NotifyCertificateExpirations extends Command +class TrustLabNotifyExpiring extends Command { /** * The name and signature of the console command. diff --git a/routes/console.php b/routes/console.php index a6876c3..96a5310 100644 --- a/routes/console.php +++ b/routes/console.php @@ -8,4 +8,4 @@ Artisan::command('inspire', function () { $this->comment(Inspiring::quote()); })->purpose('Display an inspiring quote'); -Schedule::command('certificates:notify-expiring')->daily(); +Schedule::command('trustlab:notify-expiring')->daily();