Test Setup Failed
Pull Request — master (#468)
by
unknown
02:01 queued 19s
created
src/lib/Hook/Delta.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -424,8 +424,8 @@
 block discarded – undo
424 424
         ];
425 425
 
426 426
         $node->getFilesystem()->getDatabase()->delta->updateMany([
427
-             'node' => [
428
-                 '$in' => $toset,
427
+                'node' => [
428
+                    '$in' => $toset,
429 429
             ],
430 430
         ], $action);
431 431
 
Please login to merge, or discard this patch.
src/lib/Server/User.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -734,8 +734,8 @@
 block discarded – undo
734 734
 
735 735
         $ops[] = [
736 736
             '$sort' => [
737
-               'sum' => -1,
738
-               '_id' => 1,
737
+                'sum' => -1,
738
+                '_id' => 1,
739 739
             ],
740 740
         ];
741 741
 
Please login to merge, or discard this patch.
src/lib/Migration/Delta/JsonEncodeFilteredCollection.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             $this->db->storage->updateOne(
51 51
                 ['_id' => $object['_id']],
52 52
                 [
53
-                   '$set' => ['filter' => $filter],
53
+                    '$set' => ['filter' => $filter],
54 54
                 ]
55 55
             );
56 56
         }
Please login to merge, or discard this patch.
src/lib/Migration/Delta/ShareName.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
             $this->db->storage->updateOne(
49 49
                 ['_id' => $object['_id']],
50 50
                 [
51
-                   '$set' => ['share_name' => $object['name']],
51
+                    '$set' => ['share_name' => $object['name']],
52 52
                 ]
53 53
             );
54 54
         }
Please login to merge, or discard this patch.
src/app/Balloon.App.Sharelink/Migration/Delta/SharelinkIntoApp.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@
 block discarded – undo
49 49
             $this->db->storage->updateOne(
50 50
                 ['_id' => $object['_id']],
51 51
                 [
52
-                  '$unset' => ['sharelink' => 1],
53
-                  '$set' => ['app.Balloon\App\Sharelink' => $object['sharelink']],
52
+                    '$unset' => ['sharelink' => 1],
53
+                    '$set' => ['app.Balloon\App\Sharelink' => $object['sharelink']],
54 54
                 ]
55 55
             );
56 56
         }
Please login to merge, or discard this patch.
src/lib/Migration/Delta/AddHashToHistory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
                 'foreignField' => '_id',
50 50
                 'localField' => 'history.storage._id',
51 51
                 'as' => 'blob',
52
-           ]],
52
+            ]],
53 53
         ]);
54 54
 
55 55
         foreach ($cursor as $object) {
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/TemplateHandler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
                 break;
102 102
                 default:
103 103
                     throw new InvalidArgumentException('invalid option '.$option.' given');
104
-             }
104
+                }
105 105
         }
106 106
 
107 107
         return $this;
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Adapter/Mail.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -114,10 +114,10 @@
 block discarded – undo
114 114
         $body->setParts([$html, $plain]);
115 115
 
116 116
         $mail = (new Message())
117
-          ->setSubject($message->getSubject($receiver))
118
-          ->setBody($body)
119
-          ->setTo($address)
120
-          ->setEncoding('UTF-8');
117
+            ->setSubject($message->getSubject($receiver))
118
+            ->setBody($body)
119
+            ->setTo($address)
120
+            ->setEncoding('UTF-8');
121 121
 
122 122
         $type = $mail->getHeaders()->get('Content-Type');
123 123
         $type->setType('multipart/alternative');
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Api/v2/Notifications.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -256,9 +256,9 @@
 block discarded – undo
256 256
         $body->setParts([$html, $plain]);
257 257
 
258 258
         $mail = (new Message())
259
-          ->setSubject($message->getSubject())
260
-          ->setBody($body)
261
-          ->setEncoding('UTF-8');
259
+            ->setSubject($message->getSubject())
260
+            ->setBody($body)
261
+            ->setEncoding('UTF-8');
262 262
 
263 263
         $type = $mail->getHeaders()->get('Content-Type');
264 264
         $type->setType('multipart/alternative');
Please login to merge, or discard this patch.