Passed
Push — master ( 0ad423...09f67c )
by Valentin
01:35
created
tests/Snapshotter/FileHandlerTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function testFileRender()
15 15
     {
16
-        $this->app->getBootloader()->bootload([FileSnapshotterBootloader::class]);
16
+        $this->app->getBootloader()->bootload([ FileSnapshotterBootloader::class ]);
17 17
 
18 18
         $snapshot = $this->makeSnapshot('File error', 123);
19 19
         /** @var DelegateSnapshot $delegate */
Please login to merge, or discard this 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.
tests/-app-/config/databases.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
             'profiling'  => env('DEBUG', false),
58 58
             'username'   => 'sqlite',
59 59
             'password'   => '',
60
-            'options'    => []
60
+            'options'    => [ ]
61 61
         ],
62 62
         /*{{connections}}*/
63 63
     ]
Please login to merge, or discard this patch.
tests/-app-/config/translator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@
 block discarded – undo
48 48
         'requests'   => [
49 49
             'requests-*'
50 50
         ],
51
-        'external'   => ['external'],
52
-        'messages'   => ['*'],
51
+        'external'   => [ 'external' ],
52
+        'messages'   => [ '*' ],
53 53
         /*{{domains}}*/
54 54
     ],
55 55
 
Please login to merge, or discard this patch.
tests/-app-/config/views.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
      * goal is to provide ability to evaluate some functionality at compilation (not runtime) phase.
51 51
      */
52 52
     'environment' => [
53
-        'language' => ['translator', 'getLocale'],
54
-        'basePath' => ['http', 'basePath'],
53
+        'language' => [ 'translator', 'getLocale' ],
54
+        'basePath' => [ 'http', 'basePath' ],
55 55
         /*{{environment}}*/
56 56
     ],
57 57
 
Please login to merge, or discard this patch.
tests/-app-/config/http.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     'router'       => [
65 65
         //You can use your own router or entirely replace http endpoint using option above
66 66
         'class'   => Http\Routing\Router::class,
67
-        'options' => []
67
+        'options' => [ ]
68 68
     ],
69 69
 
70 70
     /*
Please login to merge, or discard this patch.
tests/-app-/config/schemas/records.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
 
9 9
 return [
10 10
     'mutators' => [
11
-        'timestamp'  => ['accessor' => Accessors\SqlTimestamp::class],
12
-        'datetime'   => ['accessor' => Accessors\SqlTimestamp::class],
13
-        'php:int'    => ['setter' => 'intval', 'getter' => 'intval'],
14
-        'php:float'  => ['setter' => 'floatval', 'getter' => 'floatval'],
15
-        'php:string' => ['setter' => 'strval'],
16
-        'php:bool'   => ['setter' => 'boolval', 'getter' => 'boolval'],
11
+        'timestamp'  => [ 'accessor' => Accessors\SqlTimestamp::class ],
12
+        'datetime'   => [ 'accessor' => Accessors\SqlTimestamp::class ],
13
+        'php:int'    => [ 'setter' => 'intval', 'getter' => 'intval' ],
14
+        'php:float'  => [ 'setter' => 'floatval', 'getter' => 'floatval' ],
15
+        'php:string' => [ 'setter' => 'strval' ],
16
+        'php:bool'   => [ 'setter' => 'boolval', 'getter' => 'boolval' ],
17 17
         /*{{mutators}}*/
18 18
     ],
19 19
     'aliases'  => [
Please login to merge, or discard this patch.
tests/-app-/config/schemas/documents.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -15,19 +15,19 @@
 block discarded – undo
15 15
      * Set of mutators to be applied for specific field types.
16 16
      */
17 17
     'mutators' => [
18
-        'int'      => ['setter' => 'intval'],
19
-        'float'    => ['setter' => 'floatval'],
20
-        'string'   => ['setter' => 'strval'],
21
-        'bool'     => ['setter' => 'boolval'],
18
+        'int'      => [ 'setter' => 'intval' ],
19
+        'float'    => [ 'setter' => 'floatval' ],
20
+        'string'   => [ 'setter' => 'strval' ],
21
+        'bool'     => [ 'setter' => 'boolval' ],
22 22
 
23 23
         //Automatic casting of mongoID
24
-        'ObjectID' => ['setter' => [ODM::class, 'mongoID']],
24
+        'ObjectID' => [ 'setter' => [ ODM::class, 'mongoID' ] ],
25 25
 
26
-        'array::string'    => ['accessor' => ODMAccessors\StringArray::class],
27
-        'array::objectIDs' => ['accessor' => ODMAccessors\ObjectIDsArray::class],
28
-        'array::integer'   => ['accessor' => ODMAccessors\IntegerArray::class],
26
+        'array::string'    => [ 'accessor' => ODMAccessors\StringArray::class ],
27
+        'array::objectIDs' => [ 'accessor' => ODMAccessors\ObjectIDsArray::class ],
28
+        'array::integer'   => [ 'accessor' => ODMAccessors\IntegerArray::class ],
29 29
 
30
-        'timestamp' => ['accessor' => Accessors\UTCMongoTimestamp::class],
30
+        'timestamp' => [ 'accessor' => Accessors\UTCMongoTimestamp::class ],
31 31
         /*{{mutators}}*/
32 32
     ],
33 33
     /*
Please login to merge, or discard this patch.
tests/-app-/config/console.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,14 +14,14 @@  discard block
 block discarded – undo
14 14
     /*
15 15
      * Manually registered set of commands. Use this section when locateCommands is off.
16 16
      */
17
-    'commands'          => [],
17
+    'commands'          => [ ],
18 18
 
19 19
     /*
20 20
      * This set of commands will be executed when command "configure" run. You can declare command
21 21
      * options, header and footer.
22 22
      */
23 23
     'configureSequence' => [
24
-        'views:compile' => ['options' => []],
24
+        'views:compile' => [ 'options' => [ ] ],
25 25
         /*{{sequence.configure}}*/
26 26
     ],
27 27
 
@@ -31,8 +31,8 @@  discard block
 block discarded – undo
31 31
      * models with passive schemas.
32 32
      */
33 33
     'updateSequence'    => [
34
-        'odm:schema' => ['options' => []],
35
-        'orm:schema' => ['options' => []],
34
+        'odm:schema' => [ 'options' => [ ] ],
35
+        'orm:schema' => [ 'options' => [ ] ],
36 36
         /*{{sequence.update}}*/
37 37
     ]
38 38
 ];
Please login to merge, or discard this patch.
tests/-app-/config/mongo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         'default' => [
34 34
             'server'   => 'mongodb://localhost:27017',
35 35
             'database' => 'spiral-empty',
36
-            'options'  => ['connect' => true]
36
+            'options'  => [ 'connect' => true ]
37 37
         ],
38 38
         /*{{databases}}*/
39 39
     ]
Please login to merge, or discard this patch.