From 5c1a6837d01e91ab203c1706e5f15207b4ab5702 Mon Sep 17 00:00:00 2001 From: Alex Vanderbist Date: Tue, 3 Mar 2020 15:13:12 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/FailedJobNotifier.php | 2 +- src/Notification.php | 4 ++-- tests/FailedJobMonitorTest.php | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) 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 {