Completed
Branch dev (0f747f)
by Raffael
17:07
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/Hook/AbstractHook.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     public function preCopyFile(
117 117
         File $node,
118 118
         Collection $parent,
119
-       int $conflict,
119
+        int $conflict,
120 120
         ?string $recursion,
121 121
         bool $recursion_first
122 122
     ): void {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         File $node,
130 130
         Collection $parent,
131 131
         File $new_node,
132
-       int $conflict,
132
+        int $conflict,
133 133
         ?string $recursion,
134 134
         bool $recursion_first
135 135
     ): void {
Please login to merge, or discard this patch.
src/lib/Hook/AutoCreateUser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
         }
92 92
 
93 93
         $this->logger->info('found first time username ['.$identity->getIdentifier().'], auto-create user in mongodb user collection', [
94
-             'category' => get_class($this),
94
+                'category' => get_class($this),
95 95
         ]);
96 96
 
97 97
         $attributes = [
Please login to merge, or discard this patch.
src/lib/Hook/HookInterface.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
     public function preCopyFile(
207 207
         File $node,
208 208
         Collection $parent,
209
-       int $conflict,
209
+        int $conflict,
210 210
         ?string $recursion,
211 211
         bool $recursion_first
212 212
     ): void;
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
         File $node,
228 228
         Collection $parent,
229 229
         File $new_node,
230
-       int $conflict,
230
+        int $conflict,
231 231
         ?string $recursion,
232 232
         bool $recursion_first
233 233
     ): void;
Please login to merge, or discard this patch.
src/app/Balloon.App.Office/Template.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,6 +85,6 @@
 block discarded – undo
85 85
     protected function getTemplate(): string
86 86
     {
87 87
         return __DIR__.DIRECTORY_SEPARATOR.'assets'
88
-          .DIRECTORY_SEPARATOR.'template.'.$this->type;
88
+            .DIRECTORY_SEPARATOR.'template.'.$this->type;
89 89
     }
90 90
 }
Please login to merge, or discard this patch.
src/app/Balloon.App.Preview/Hook.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace Balloon\App\Preview;
14 14
 
15
-use Balloon\Exception;
16 15
 use Balloon\Filesystem\Node\File;
17 16
 use Balloon\Hook\AbstractHook;
18 17
 use MongoDB\GridFS\Exception\FileNotFoundException;
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/File.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Balloon\Helper;
21 21
 use Balloon\Hook;
22 22
 use Balloon\Mime;
23
-use Balloon\Server\User;
24 23
 use MongoDB\BSON\UTCDateTime;
25 24
 use Psr\Log\LoggerInterface;
26 25
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -589,7 +589,7 @@
 block discarded – undo
589 589
         ]);
590 590
 
591 591
         $this->addVersion($attributes)
592
-             ->postPutFile($file, $new, $attributes);
592
+                ->postPutFile($file, $new, $attributes);
593 593
 
594 594
         return $this->version;
595 595
     }
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Hook/NewShareAdded.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 Balloon\App\Notification\Exception;
15 15
 use Balloon\App\Notification\NodeMessage;
16 16
 use Balloon\App\Notification\Notifier;
17
-use Balloon\Async\Mail;
18 17
 use Balloon\Filesystem\Node\AttributeDecorator;
19 18
 use Balloon\Filesystem\Node\Collection;
20 19
 use Balloon\Filesystem\Node\NodeInterface;
Please login to merge, or discard this patch.
src/app/Balloon.App.Office/Api/Latest/Document.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Balloon\Filesystem\Node\Collection;
21 21
 use Balloon\Filesystem\Node\File;
22 22
 use Balloon\Server;
23
-use Balloon\Server\User;
24 23
 use Micro\Http\Response;
25 24
 
26 25
 class Document extends Controller
Please login to merge, or discard this patch.