Test Setup Failed
Pull Request — master (#468)
by
unknown
02:01 queued 19s
created
src/lib/Filesystem/Node/Collection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
         $this->storage = $this->_parent->getStorage()->deleteCollection($this);
363 363
 
364 364
         if (!$this->isReference() && !$this->isMounted() && !$this->isFiltered()) {
365
-            $this->doRecursiveAction(function ($node) use ($recursion) {
365
+            $this->doRecursiveAction(function($node) use ($recursion) {
366 366
                 $node->delete(false, $recursion, false);
367 367
             }, NodeInterface::DELETED_EXCLUDE);
368 368
         }
@@ -917,7 +917,7 @@  discard block
 block discarded – undo
917 917
     protected function _forceDelete(?string $recursion = null, bool $recursion_first = true): bool
918 918
     {
919 919
         if (!$this->isReference() && !$this->isMounted() && !$this->isFiltered()) {
920
-            $this->doRecursiveAction(function ($node) use ($recursion) {
920
+            $this->doRecursiveAction(function($node) use ($recursion) {
921 921
                 $node->delete(true, $recursion, false);
922 922
             }, NodeInterface::DELETED_INCLUDE);
923 923
         }
Please login to merge, or discard this patch.
src/app/Balloon.App.Idp/Hook/MultiFactorAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
     /**
135 135
      * {@inheritdoc}
136 136
      */
137
-    public function preServerIdentity(Identity $identity, ?User &$user): void
137
+    public function preServerIdentity(Identity $identity, ?User & $user): void
138 138
     {
139 139
         if (null === $user || (preg_match('#^/index.php/api/v2/tokens#', $_SERVER['ORIG_SCRIPT_NAME']) && isset($_POST['grant_type']) && (preg_match('#_mfa$#', $_POST['grant_type']) || $_POST['grant_type'] === 'refresh_token'))) {
140 140
             return;
Please login to merge, or discard this patch.
src/app/Balloon.App.Wopi/Wopi/Files.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
                 ->setCode(200)
191 191
                 ->setHeader('X-WOPI-Lock', '')
192 192
                 ->setBody($e);
193
-        } catch (Exception\Locked|Exception\LockIdMissmatch|Exception\Forbidden $e) {
193
+        } catch (Exception\Locked | Exception\LockIdMissmatch | Exception\Forbidden $e) {
194 194
             $lock = $file->getLock();
195 195
 
196 196
             return (new Response())
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
                 ->setCode(200)
243 243
                 ->setHeader('X-WOPI-ItemVersion', (string) ($version == $result ? $result : $result))
244 244
                 ->setBody($result);
245
-        } catch (Exception\Locked|Exception\LockIdMissmatch $e) {
245
+        } catch (Exception\Locked | Exception\LockIdMissmatch $e) {
246 246
             $lock = $file->getLock();
247 247
 
248 248
             return $response
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
         $response = (new Response())
268 268
             ->setCode(200)
269 269
             ->setHeader('X-WOPI-ItemVersion', (string) $file->getVersion())
270
-            ->setBody(function () use ($stream) {
270
+            ->setBody(function() use ($stream) {
271 271
                 if ($stream === null) {
272 272
                     echo '';
273 273
 
Please login to merge, or discard this patch.
src/lib/Migration/Delta/Md5BlobIgnoreNull.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         try {
41 41
             $this->createIndex();
42
-        } catch (CommandException|RuntimeException $e) {
42
+        } catch (CommandException | RuntimeException $e) {
43 43
             if ($e->getCode() === 85) {
44 44
                 $this->db->selectCollection('fs.files')->dropIndex('md5_1');
45 45
                 $this->createIndex();
Please login to merge, or discard this patch.
src/lib/Migration/Delta/CreateUniqueUserMailIndexAllowNull.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         try {
41 41
             $this->createIndex();
42
-        } catch (CommandException|RuntimeException $e) {
42
+        } catch (CommandException | RuntimeException $e) {
43 43
             if ($e->getCode() === 85) {
44 44
                 $this->db->selectCollection('user')->dropIndex('mail_1');
45 45
                 $this->createIndex();
Please login to merge, or discard this patch.
src/lib/Migration/Delta/CreateUniqueUserMailIndex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         try {
41 41
             $this->createIndex();
42
-        } catch (CommandException|RuntimeException $e) {
42
+        } catch (CommandException | RuntimeException $e) {
43 43
             if ($e->getCode() === 85) {
44 44
                 $this->db->selectCollection('user')->dropIndex('mail_1');
45 45
                 $this->createIndex();
Please login to merge, or discard this patch.
src/lib/Bootstrap/Http.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
             if (
83 83
                 !($this->auth->getIdentity()->getAdapter() instanceof AuthNone)) {
84
-                $this->auth->getIdentity()->getAttributeMap()->addMapper('binary', function ($value) {
84
+                $this->auth->getIdentity()->getAttributeMap()->addMapper('binary', function($value) {
85 85
                     return new Binary($value, Binary::TYPE_GENERIC);
86 86
                 });
87 87
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     protected function setExceptionHandler(): self
140 140
     {
141
-        set_exception_handler(function ($e) {
141
+        set_exception_handler(function($e) {
142 142
             $this->logger->emergency('uncaught exception: '.$e->getMessage(), [
143 143
                 'category' => static::class,
144 144
                 'exception' => $e,
Please login to merge, or discard this patch.
src/lib/Bootstrap/Cli.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
      */
164 164
     protected function setExceptionHandler(): self
165 165
     {
166
-        set_exception_handler(function ($e) {
166
+        set_exception_handler(function($e) {
167 167
             $this->logger->emergency('uncaught exception: '.$e->getMessage(), [
168 168
                 'category' => static::class,
169 169
                 'exception' => $e,
Please login to merge, or discard this patch.
src/lib/Hook/AutoCreateUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     /**
78 78
      * {@inheritdoc}
79 79
      */
80
-    public function preServerIdentity(Identity $identity, ?User &$user): void
80
+    public function preServerIdentity(Identity $identity, ?User & $user): void
81 81
     {
82 82
         if (null !== $user) {
83 83
             return;
Please login to merge, or discard this patch.