diff --git a/src/FailedJobNotifier.php b/src/FailedJobNotifier.php index 9e656a2..d75716f 100644 --- a/src/FailedJobNotifier.php +++ b/src/FailedJobNotifier.php @@ -2,8 +2,8 @@ namespace Spatie\FailedJobMonitor; -use Illuminate\Queue\QueueManager; use Illuminate\Queue\Events\JobFailed; +use Illuminate\Queue\QueueManager; use Spatie\FailedJobMonitor\Exceptions\InvalidConfiguration; class FailedJobNotifier diff --git a/src/Notification.php b/src/Notification.php index ab54bd7..97ee42b 100644 --- a/src/Notification.php +++ b/src/Notification.php @@ -2,11 +2,11 @@ namespace Spatie\FailedJobMonitor; -use Illuminate\Queue\Events\JobFailed; use Illuminate\Notifications\Messages\MailMessage; -use Illuminate\Notifications\Messages\SlackMessage; use Illuminate\Notifications\Messages\SlackAttachment; +use Illuminate\Notifications\Messages\SlackMessage; use Illuminate\Notifications\Notification as IlluminateNotification; +use Illuminate\Queue\Events\JobFailed; class Notification extends IlluminateNotification { diff --git a/tests/FailedJobMonitorTest.php b/tests/FailedJobMonitorTest.php index 96d3e01..6fea571 100644 --- a/tests/FailedJobMonitorTest.php +++ b/tests/FailedJobMonitorTest.php @@ -2,14 +2,14 @@ namespace Spatie\FailedJobMonitor\Test; +use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Queue\Events\JobFailed; +use Illuminate\Support\Facades\Notification as NotificationFacade; use Spatie\FailedJobMonitor\Notifiable; use Spatie\FailedJobMonitor\Notification; -use Spatie\FailedJobMonitor\Test\Dummy\Job; -use Illuminate\Foundation\Testing\DatabaseMigrations; use Spatie\FailedJobMonitor\Test\Dummy\AnotherNotifiable; use Spatie\FailedJobMonitor\Test\Dummy\AnotherNotification; -use Illuminate\Support\Facades\Notification as NotificationFacade; +use Spatie\FailedJobMonitor\Test\Dummy\Job; class FailedJobMonitorTest extends TestCase {