Completed
Branch master (3adcdb)
by Raffael
08:09 queued 04:17
created
src/lib/Filesystem/DeltaAttributeDecorator.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/v1AclTov2Acl.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/Converter/Adapter/Office.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/Converter/Adapter/ImagickImage.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/Hook/AutoDestroy.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/Hook/CleanTrash.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/Server/AttributeDecorator.php 1 patch
Spacing   +5 added lines, -5 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
@@ -102,13 +102,13 @@  discard block
 block discarded – undo
102 102
         }
103 103
 
104 104
         return [
105
-            'created' => function ($role) use ($attributes) {
105
+            'created' => function($role) use ($attributes) {
106 106
                 return $attributes['created']->toDateTime()->format('c');
107 107
             },
108
-            'changed' => function ($role) use ($attributes) {
108
+            'changed' => function($role) use ($attributes) {
109 109
                 return $attributes['changed']->toDateTime()->format('c');
110 110
             },
111
-            'deleted' => function ($role) use ($attributes) {
111
+            'deleted' => function($role) use ($attributes) {
112 112
                 if (false === $attributes['deleted']) {
113 113
                     return null;
114 114
                 }
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
             'name' => (string) $attributes['username'],
162 162
             'namespace' => (string) $attributes['namespace'],
163 163
             'mail' => (string) $attributes['mail'],
164
-            'quota' => function ($role) use ($attributes, $user) {
164
+            'quota' => function($role) use ($attributes, $user) {
165 165
                 if ($attributes['_id'] == $user->getId() || $user->isAdmin()) {
166 166
                     return $role->getQuotaUsage();
167 167
                 }
Please login to merge, or discard this patch.
src/app/Balloon.App.Cli/Console/Jobs.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@
 block discarded – undo
50 50
     /**
51 51
      * Constructor.
52 52
      *
53
-     * @param App             $app
54 53
      * @param Async           $async
55 54
      * @param LoggerInterface $logger
56 55
      * @param GetOpt          $getopt
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.Elasticsearch/Job.php 3 patches
Doc Comments   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@  discard block
 block discarded – undo
72 72
     /**
73 73
      * Constructor.
74 74
      *
75
-     * @param Elasticsarch           $es
76
-     * @param Storage                $storage
75
+     * @param Elasticsearch           $es
77 76
      * @param Server                 $server
78 77
      * @param NodeAttributeDecorator $decorator
79 78
      * @param LoggerInterface        $logger
@@ -439,7 +438,6 @@  discard block
 block discarded – undo
439 438
     /**
440 439
      * Add or update blob.
441 440
      *
442
-     * @param File $node
443 441
      *
444 442
      * @return bool
445 443
      */
@@ -480,8 +478,6 @@  discard block
 block discarded – undo
480 478
      * Prepare references update.
481 479
      *
482 480
      * @param array $references
483
-     * @param array $new_references
484
-     * @param array $new_share_references
485 481
      *
486 482
      * @return array
487 483
      */
@@ -554,7 +550,6 @@  discard block
 block discarded – undo
554 550
     /**
555 551
      * Update blob.
556 552
      *
557
-     * @param File  $file
558 553
      * @param array $meta
559 554
      *
560 555
      * @return bool
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -341,7 +341,7 @@
 block discarded – undo
341 341
         }
342 342
 
343 343
         $this->logger->debug('elasticsarch blob document ['.$result['_id'].'] has no references left, remove completely', [
344
-         'category' => get_class($this),
344
+            'category' => get_class($this),
345 345
         ]);
346 346
 
347 347
         return $this->deleteBlob($result['_id']);
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 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
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     protected function addShare(Collection $collection): bool
272 272
     {
273 273
         $that = $this;
274
-        $collection->doRecursiveAction(function ($node) use ($that) {
274
+        $collection->doRecursiveAction(function($node) use ($that) {
275 275
             if ($node instanceof Collection) {
276 276
                 $that->addShare($node);
277 277
             } else {
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
     protected function deleteShare(Collection $collection): bool
293 293
     {
294 294
         $that = $this;
295
-        $collection->doRecursiveAction(function ($node) use ($that) {
295
+        $collection->doRecursiveAction(function($node) use ($that) {
296 296
             if ($node instanceof Collection) {
297 297
                 $that->deleteShare($node);
298 298
             } else {
Please login to merge, or discard this patch.