Completed
Push — master ( 0f7cfa...2ad6a6 )
by Raffael
04:11
created
src/lib/Migration/Delta/CoreInstallation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/lib/Migration/Delta/ShareName.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/httpdocs/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/app/Balloon.App.DesktopClient/Constructor/Http.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Adapter/Mail.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -113,9 +113,9 @@
 block discarded – undo
113 113
         $body->addPart($html);
114 114
 
115 115
         $mail = (new Message())
116
-          ->setSubject($message->getSubject($receiver))
117
-          ->setBody($body)
118
-          ->setTo($address);
116
+            ->setSubject($message->getSubject($receiver))
117
+            ->setBody($body)
118
+            ->setTo($address);
119 119
 
120 120
         if (null === $sender) {
121 121
             $mail->setFrom($this->sender_address, $this->sender_name);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Adapter/Db.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Adapter/AdapterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Notifier.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
     public function subscribeNode(NodeInterface $node, bool $subscribe = true, bool $exclude_me = true, bool $recursive = false): bool
302 302
     {
303 303
         $subs = $node->getAppAttribute(__NAMESPACE__, 'subscription');
304
-        $user_id = (string) $this->server->getIdentity()->getId();
304
+        $user_id = (string)$this->server->getIdentity()->getId();
305 305
 
306 306
         if (true === $subscribe) {
307 307
             $this->logger->debug('user ['.$this->server->getIdentity()->getId().'] subribes node ['.$node->getId().']', [
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
             $subs[$user_id] = $subscription;
318 318
             $node->setAppAttribute(__NAMESPACE__, 'subscription', $subs);
319 319
             if ($node instanceof Collection && $recursive === true) {
320
-                $node->doRecursiveAction(function ($child) use ($subscription, $user_id) {
320
+                $node->doRecursiveAction(function($child) use ($subscription, $user_id) {
321 321
                     $subs = $child->getAppAttribute(__NAMESPACE__, 'subscription');
322 322
                     $subs[$user_id] = $subscription;
323 323
                     $child->setAppAttribute(__NAMESPACE__, 'subscription', $subs);
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
             $node->setAppAttribute(__NAMESPACE__, 'subscription', $subs);
336 336
 
337 337
             if ($node instanceof Collection && $recursive === true) {
338
-                $node->doRecursiveAction(function ($child) use ($user_id) {
338
+                $node->doRecursiveAction(function($child) use ($user_id) {
339 339
                     $subs = $child->getAppAttribute(__NAMESPACE__, 'subscription');
340 340
 
341 341
                     if (isset($subs[$user_id])) {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,9 +116,7 @@  discard block
 block discarded – undo
116 116
      *
117 117
      * @param iterable $receiver
118 118
      * @param User     $sender
119
-     * @param string   $subject
120
-     * @param string   $body
121
-     * @param array    $context
119
+     * @param string    $context
122 120
      *
123 121
      * @return bool
124 122
      */
@@ -226,10 +224,10 @@  discard block
 block discarded – undo
226 224
     /**
227 225
      * Add notification.
228 226
      *
229
-     * @param array            $receiver
230
-     * @param User             $user
227
+     * @param User            $receiver
231 228
      * @param MessageInterface $message
232 229
      * @param array            $context
230
+     * @param User $sender
233 231
      *
234 232
      * @return ObjectId
235 233
      */
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/MessageInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.