Completed
Push — master ( 86bec1...394ba7 )
by Freek
03:40 queued 01:16
created
src/Commands/CleanupCommand.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace Spatie\Backup\Commands;
4 4
 
5 5
 use Exception;
6
+use Spatie\Backup\BackupDestination\BackupDestinationFactory;
6 7
 use Spatie\Backup\Events\CleanupHasFailed;
7 8
 use Spatie\Backup\Tasks\Cleanup\CleanupJob;
8
-use Spatie\Backup\BackupDestination\BackupDestinationFactory;
9 9
 
10 10
 class CleanupCommand extends BaseCommand
11 11
 {
Please login to merge, or discard this patch.
src/Notifications/BaseNotification.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Backup\Notifications;
4 4
 
5
-use Spatie\Backup\Helpers\Format;
6
-use Illuminate\Support\Collection;
7 5
 use Illuminate\Notifications\Notification;
6
+use Illuminate\Support\Collection;
7
+use Spatie\Backup\Helpers\Format;
8 8
 
9 9
 abstract class BaseNotification extends Notification
10 10
 {
Please login to merge, or discard this patch.
src/Notifications/EventHandler.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 namespace Spatie\Backup\Notifications;
4 4
 
5 5
 use Illuminate\Config\Repository;
6
-use Spatie\Backup\Events\BackupHasFailed;
7
-use Illuminate\Notifications\Notification;
8
-use Spatie\Backup\Events\CleanupHasFailed;
9 6
 use Illuminate\Contracts\Events\Dispatcher;
7
+use Illuminate\Notifications\Notification;
8
+use Spatie\Backup\Events\BackupHasFailed;
10 9
 use Spatie\Backup\Events\BackupWasSuccessful;
10
+use Spatie\Backup\Events\CleanupHasFailed;
11 11
 use Spatie\Backup\Events\CleanupWasSuccessful;
12 12
 use Spatie\Backup\Events\HealthyBackupWasFound;
13 13
 use Spatie\Backup\Events\UnhealthyBackupWasFound;
Please login to merge, or discard this patch.
src/Notifications/Notifications/CleanupWasSuccessful.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Backup\Notifications\Notifications;
4 4
 
5
-use Spatie\Backup\Notifications\BaseNotification;
6 5
 use Illuminate\Notifications\Messages\MailMessage;
7
-use Illuminate\Notifications\Messages\SlackMessage;
8 6
 use Illuminate\Notifications\Messages\SlackAttachment;
7
+use Illuminate\Notifications\Messages\SlackMessage;
9 8
 use Spatie\Backup\Events\CleanupWasSuccessful as CleanupWasSuccessfulEvent;
9
+use Spatie\Backup\Notifications\BaseNotification;
10 10
 
11 11
 class CleanupWasSuccessful extends BaseNotification
12 12
 {
Please login to merge, or discard this patch.
src/Tasks/Cleanup/CleanupJob.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 namespace Spatie\Backup\Tasks\Cleanup;
4 4
 
5 5
 use Exception;
6
-use Spatie\Backup\Helpers\Format;
7 6
 use Illuminate\Support\Collection;
7
+use Spatie\Backup\BackupDestination\BackupDestination;
8 8
 use Spatie\Backup\Events\CleanupHasFailed;
9 9
 use Spatie\Backup\Events\CleanupWasSuccessful;
10
-use Spatie\Backup\BackupDestination\BackupDestination;
10
+use Spatie\Backup\Helpers\Format;
11 11
 
12 12
 class CleanupJob
13 13
 {
Please login to merge, or discard this patch.
src/Tasks/Cleanup/Strategies/DefaultStrategy.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use Carbon\Carbon;
6 6
 use Illuminate\Support\Collection;
7
-use Spatie\Backup\Tasks\Cleanup\Period;
8 7
 use Spatie\Backup\BackupDestination\Backup;
9
-use Spatie\Backup\Tasks\Cleanup\CleanupStrategy;
10 8
 use Spatie\Backup\BackupDestination\BackupCollection;
9
+use Spatie\Backup\Tasks\Cleanup\CleanupStrategy;
10
+use Spatie\Backup\Tasks\Cleanup\Period;
11 11
 
12 12
 class DefaultStrategy extends CleanupStrategy
13 13
 {
Please login to merge, or discard this patch.
src/Tasks/Monitor/BackupDestinationStatus.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Backup\Tasks\Monitor;
4 4
 
5
-use Exception;
6 5
 use Carbon\Carbon;
7
-use Spatie\Backup\Helpers\Format;
6
+use Exception;
8 7
 use Spatie\Backup\BackupDestination\BackupDestination;
8
+use Spatie\Backup\Helpers\Format;
9 9
 
10 10
 class BackupDestinationStatus
11 11
 {
Please login to merge, or discard this patch.
src/Notifications/Notifications/BackupHasFailed.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Backup\Notifications\Notifications;
4 4
 
5
-use Spatie\Backup\Notifications\BaseNotification;
6 5
 use Illuminate\Notifications\Messages\MailMessage;
7
-use Illuminate\Notifications\Messages\SlackMessage;
8 6
 use Illuminate\Notifications\Messages\SlackAttachment;
7
+use Illuminate\Notifications\Messages\SlackMessage;
9 8
 use Spatie\Backup\Events\BackupHasFailed as BackupHasFailedEvent;
9
+use Spatie\Backup\Notifications\BaseNotification;
10 10
 
11 11
 class BackupHasFailed extends BaseNotification
12 12
 {
Please login to merge, or discard this patch.
src/Notifications/Notifications/BackupWasSuccessful.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Backup\Notifications\Notifications;
4 4
 
5
-use Spatie\Backup\Notifications\BaseNotification;
6 5
 use Illuminate\Notifications\Messages\MailMessage;
7
-use Illuminate\Notifications\Messages\SlackMessage;
8 6
 use Illuminate\Notifications\Messages\SlackAttachment;
7
+use Illuminate\Notifications\Messages\SlackMessage;
9 8
 use Spatie\Backup\Events\BackupWasSuccessful as BackupWasSuccessfulEvent;
9
+use Spatie\Backup\Notifications\BaseNotification;
10 10
 
11 11
 class BackupWasSuccessful extends BaseNotification
12 12
 {
Please login to merge, or discard this patch.