Passed
Push — master ( 45d554...366777 )
by Valentin
09:39
created
source/Snapshotter/AggregationHandler/Services/SnapshotService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Spiral\Snapshotter\AggregationHandler\Database\SnapshotRecord;
9 9
 use Spiral\Snapshotter\AggregationHandler\Database\Sources\SnapshotSource;
10 10
 use Spiral\Snapshotter\AggregationHandler\Database\Sources\IncidentSource;
11
-use Spiral\Snapshotter\AggregationHandler\Database\Types\IncidentStatus;
12 11
 
13 12
 class SnapshotService extends Service
14 13
 {
Please login to merge, or discard this patch.
tests/BaseTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Spiral\Snapshotter\DelegateSnapshot;
15 15
 use Spiral\Snapshotter\AggregationHandler\Database\SnapshotRecord;
16 16
 use Spiral\Snapshotter\AggregationHandler;
17
-use Spiral\Snapshotter\FileHandler;
18 17
 
19 18
 /**
20 19
  * @property \Spiral\Core\MemoryInterface             $memory
Please login to merge, or discard this patch.
tests/Snapshotter/DelegateTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Spiral\Snapshotter\DelegateSnapshot;
8 8
 use Spiral\Snapshotter\HandlerInterface;
9 9
 use Spiral\Tests\BaseTest;
10
-use Symfony\Component\Debug\Debug;
11 10
 
12 11
 class DelegateTest extends BaseTest
13 12
 {
Please login to merge, or discard this patch.
tests/Snapshotter/FileHandlerTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 namespace Spiral\Tests\Snapshotter;
4 4
 
5 5
 use Spiral\Debug\Configs\SnapshotConfig;
6
-use Spiral\Snapshotter\AggregationHandler;
7
-use Spiral\Snapshotter\AggregationHandler\Database\IncidentRecord;
8
-use Spiral\Snapshotter\AggregationHandler\Database\SnapshotRecord;
9 6
 use Spiral\Snapshotter\Bootloaders\FileSnapshotterBootloader;
10 7
 use Spiral\Snapshotter\DelegateSnapshot;
11 8
 use Spiral\Tests\BaseTest;
Please login to merge, or discard this patch.
source/views/aggregation/snapshot.dark.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -166,9 +166,9 @@
 block discarded – undo
166 166
                                            title="[[Suppress incident]]"
167 167
                                            class="btn blue-grey darken-2 waves-effect waves-light"
168 168
                                            options="<?= [
169
-                                               'id'       => $snapshot->primaryKey(),
170
-                                               'incident' => $entity->primaryKey(),
171
-                                           ] ?>"></vault:uri>
169
+                                                'id'       => $snapshot->primaryKey(),
170
+                                                'incident' => $entity->primaryKey(),
171
+                                            ] ?>"></vault:uri>
172 172
                             </vault:guard>
173 173
                         <?php }
174 174
 
Please login to merge, or discard this patch.
source/views/aggregation/incident.dark.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
             <vault:uri target="snapshots:suppressIncident"
25 25
                        class="btn blue-grey darken-2 waves-effect waves-light" icon="archive"
26 26
                        options="<?= [
27
-                           'id'       => $snapshot->primaryKey(),
28
-                           'incident' => $incident->primaryKey()
29
-                       ] ?>">
27
+                            'id'       => $snapshot->primaryKey(),
28
+                            'incident' => $incident->primaryKey()
29
+                        ] ?>">
30 30
                 [[Suppress]]
31 31
             </vault:uri>
32 32
         <?php } ?>
Please login to merge, or discard this patch.