Completed
Branch master (c27395)
by Freek
07:19
created
src/Models/Check.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,16 +3,15 @@
 block discarded – undo
3 3
 namespace Spatie\ServerMonitor\Models;
4 4
 
5 5
 use Carbon\Carbon;
6
-use Exception;
7 6
 use Illuminate\Database\Eloquent\Builder;
8 7
 use Illuminate\Database\Eloquent\Model;
9 8
 use Illuminate\Database\Eloquent\Relations\BelongsTo;
10 9
 use Illuminate\Support\Arr;
10
+use Spatie\ServerMonitor\CheckDefinitions\CheckDefinition;
11 11
 use Spatie\ServerMonitor\Events\CheckFailed;
12 12
 use Spatie\ServerMonitor\Events\CheckRestored;
13 13
 use Spatie\ServerMonitor\Events\CheckSucceeded;
14 14
 use Spatie\ServerMonitor\Events\CheckWarning;
15
-use Spatie\ServerMonitor\CheckDefinitions\CheckDefinition;
16 15
 use Spatie\ServerMonitor\Exceptions\InvalidCheckDefinition;
17 16
 use Spatie\ServerMonitor\Models\Enums\CheckStatus;
18 17
 use Symfony\Component\Process\Process;
Please login to merge, or discard this patch.
src/Notifications/Notifications/CheckFailed.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Carbon\Carbon;
6 6
 use Illuminate\Notifications\Messages\MailMessage;
7
-use Illuminate\Notifications\Messages\SlackMessage;
8 7
 use Illuminate\Notifications\Messages\SlackAttachment;
8
+use Illuminate\Notifications\Messages\SlackMessage;
9 9
 use Spatie\ServerMonitor\Events\CheckFailed as CheckFailedEvent;
10 10
 use Spatie\ServerMonitor\Models\Enums\CheckStatus;
11 11
 use Spatie\ServerMonitor\Notifications\BaseNotification;
Please login to merge, or discard this patch.
src/Notifications/Notifications/CheckRestored.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Carbon\Carbon;
6 6
 use Illuminate\Notifications\Messages\MailMessage;
7
-use Illuminate\Notifications\Messages\SlackMessage;
8 7
 use Illuminate\Notifications\Messages\SlackAttachment;
8
+use Illuminate\Notifications\Messages\SlackMessage;
9 9
 use Spatie\ServerMonitor\Events\CheckRestored as CheckRestoredEvent;
10 10
 use Spatie\ServerMonitor\Models\Enums\CheckStatus;
11 11
 use Spatie\ServerMonitor\Notifications\BaseNotification;
Please login to merge, or discard this patch.
src/Notifications/Notifications/CheckSucceeded.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Carbon\Carbon;
6 6
 use Illuminate\Notifications\Messages\MailMessage;
7
-use Illuminate\Notifications\Messages\SlackMessage;
8 7
 use Illuminate\Notifications\Messages\SlackAttachment;
8
+use Illuminate\Notifications\Messages\SlackMessage;
9 9
 use Spatie\ServerMonitor\Events\CheckSucceeded as CheckSucceededEvent;
10 10
 use Spatie\ServerMonitor\Models\Enums\CheckStatus;
11 11
 use Spatie\ServerMonitor\Notifications\BaseNotification;
Please login to merge, or discard this patch.
src/Notifications/Notifications/CheckWarning.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Carbon\Carbon;
6 6
 use Illuminate\Notifications\Messages\MailMessage;
7
-use Illuminate\Notifications\Messages\SlackMessage;
8 7
 use Illuminate\Notifications\Messages\SlackAttachment;
8
+use Illuminate\Notifications\Messages\SlackMessage;
9 9
 use Spatie\ServerMonitor\Events\CheckWarning as CheckWarningEvent;
10 10
 use Spatie\ServerMonitor\Models\Enums\CheckStatus;
11 11
 use Spatie\ServerMonitor\Notifications\BaseNotification;
Please login to merge, or discard this patch.