Move cron scripts to root namespace
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Listeners\Cron\Monthly;
|
namespace App\Cron\Monthly;
|
||||||
|
|
||||||
use App\Events\CronMonthly;
|
use App\Events\CronMonthly;
|
||||||
use App\Interfaces\Listener;
|
use App\Interfaces\Listener;
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Listeners\Cron\Nightly;
|
namespace App\Cron\Nightly;
|
||||||
|
|
||||||
use App\Events\CronNightly;
|
use App\Events\CronNightly;
|
||||||
use App\Interfaces\Listener;
|
use App\Interfaces\Listener;
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Listeners\Cron\Nightly;
|
namespace App\Cron\Nightly;
|
||||||
|
|
||||||
use App\Events\CronNightly;
|
use App\Events\CronNightly;
|
||||||
use App\Interfaces\Listener;
|
use App\Interfaces\Listener;
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Listeners\Cron\Nightly;
|
namespace App\Cron\Nightly;
|
||||||
|
|
||||||
use App\Events\CronNightly;
|
use App\Events\CronNightly;
|
||||||
use App\Interfaces\Listener;
|
use App\Interfaces\Listener;
|
||||||
@@ -8,9 +8,9 @@ use App\Events\CronWeekly;
|
|||||||
use App\Events\Expenses;
|
use App\Events\Expenses;
|
||||||
use App\Events\UserStatsChanged;
|
use App\Events\UserStatsChanged;
|
||||||
use App\Listeners\AwardListener;
|
use App\Listeners\AwardListener;
|
||||||
use App\Listeners\Cron\Nightly\ApplyExpenses;
|
use App\Cron\Nightly\ApplyExpenses;
|
||||||
use App\Listeners\Cron\Nightly\PilotLeave;
|
use App\Cron\Nightly\PilotLeave;
|
||||||
use App\Listeners\Cron\Nightly\RecalculateBalances;
|
use App\Cron\Nightly\RecalculateBalances;
|
||||||
use App\Listeners\ExpenseListener;
|
use App\Listeners\ExpenseListener;
|
||||||
use App\Listeners\FinanceEvents;
|
use App\Listeners\FinanceEvents;
|
||||||
use App\Listeners\NotificationEvents;
|
use App\Listeners\NotificationEvents;
|
||||||
@@ -35,7 +35,7 @@ class EventServiceProvider extends ServiceProvider
|
|||||||
],
|
],
|
||||||
|
|
||||||
CronMonthly::class => [
|
CronMonthly::class => [
|
||||||
\App\Listeners\Cron\Monthly\ApplyExpenses::class
|
\App\Cron\Monthly\ApplyExpenses::class
|
||||||
],
|
],
|
||||||
|
|
||||||
UserStatsChanged::class => [
|
UserStatsChanged::class => [
|
||||||
|
|||||||
Reference in New Issue
Block a user