Completed
Pull Request — master (#183)
by Rias
01:19
created
src/Console/ReplayCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Spatie\EventProjector\Console;
4 4
 
5 5
 use Exception;
6
-use InvalidArgumentException;
7 6
 use Illuminate\Console\Command;
8 7
 use Illuminate\Support\Collection;
9 8
 use Spatie\EventProjector\Projectionist;
10
-use Spatie\EventProjector\Models\StoredEvent;
11 9
 use Spatie\EventProjector\StoredEventRepository;
12 10
 
13 11
 class ReplayCommand extends Command
Please login to merge, or discard this patch.
src/EventHandlers/HandlesEvents.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,13 @@
 block discarded – undo
3 3
 namespace Spatie\EventProjector\EventHandlers;
4 4
 
5 5
 use Exception;
6
+use Illuminate\Support\Collection;
6 7
 use ReflectionClass;
7 8
 use ReflectionMethod;
8 9
 use ReflectionParameter;
9
-use Illuminate\Support\Collection;
10
+use Spatie\EventProjector\Exceptions\InvalidEventHandler;
10 11
 use Spatie\EventProjector\Models\StoredEventData;
11 12
 use Spatie\EventProjector\ShouldBeStored;
12
-use Spatie\EventProjector\Exceptions\InvalidEventHandler;
13 13
 
14 14
 trait HandlesEvents
15 15
 {
Please login to merge, or discard this patch.
src/HandleStoredEventJob.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace Spatie\EventProjector;
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6
-use Illuminate\Queue\SerializesModels;
7
-use Illuminate\Queue\InteractsWithQueue;
8 6
 use Illuminate\Contracts\Queue\ShouldQueue;
7
+use Illuminate\Queue\InteractsWithQueue;
8
+use Illuminate\Queue\SerializesModels;
9 9
 use Spatie\EventProjector\Models\StoredEvent;
10 10
 use Spatie\EventProjector\Models\StoredEventData;
11 11
 
Please login to merge, or discard this patch.
src/Projectionist.php 1 patch
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -5,16 +5,15 @@
 block discarded – undo
5 5
 use Exception;
6 6
 use Illuminate\Support\Arr;
7 7
 use Illuminate\Support\Collection;
8
-use Spatie\EventProjector\Models\StoredEvent;
9
-use Spatie\EventProjector\Models\StoredEventData;
10
-use Spatie\EventProjector\Projectors\Projector;
11 8
 use Spatie\EventProjector\EventHandlers\EventHandler;
9
+use Spatie\EventProjector\EventHandlers\EventHandlerCollection;
10
+use Spatie\EventProjector\Events\EventHandlerFailedHandlingEvent;
12 11
 use Spatie\EventProjector\Events\FinishedEventReplay;
13 12
 use Spatie\EventProjector\Events\StartingEventReplay;
14
-use Spatie\EventProjector\Projectors\QueuedProjector;
15 13
 use Spatie\EventProjector\Exceptions\InvalidEventHandler;
16
-use Spatie\EventProjector\EventHandlers\EventHandlerCollection;
17
-use Spatie\EventProjector\Events\EventHandlerFailedHandlingEvent;
14
+use Spatie\EventProjector\Models\StoredEventData;
15
+use Spatie\EventProjector\Projectors\Projector;
16
+use Spatie\EventProjector\Projectors\QueuedProjector;
18 17
 
19 18
 final class Projectionist
20 19
 {
Please login to merge, or discard this patch.