Test Setup Failed
Branch master (b29bf8)
by Raffael
03:59
created
src/app/Balloon.App.Api/v2/Files.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
      *
108 108
      * @param string $id
109 109
      * @param string $p
110
-     * @param string $version
110
+     * @param integer $version
111 111
      *
112 112
      * @return Response
113 113
      */
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
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
 
343 343
             try {
344 344
                 $attributes = compact('changed', 'created', 'readonly', 'meta');
345
-                $attributes = array_filter($attributes, function ($attribute) {return !is_null($attribute); });
345
+                $attributes = array_filter($attributes, function($attribute) {return !is_null($attribute); });
346 346
                 $attributes = $this->_verifyAttributes($attributes);
347 347
 
348 348
                 return $this->_put($file, $id, $p, $collection, $name, $attributes, $conflict);
@@ -463,7 +463,7 @@  discard block
 block discarded – undo
463 463
         $content = fopen('php://input', 'rb');
464 464
 
465 465
         $attributes = compact('changed', 'created', 'readonly', 'meta');
466
-        $attributes = array_filter($attributes, function ($attribute) {return !is_null($attribute); });
466
+        $attributes = array_filter($attributes, function($attribute) {return !is_null($attribute); });
467 467
         $attributes = $this->_verifyAttributes($attributes);
468 468
 
469 469
         return $this->_put($content, $id, $p, $collection, $name, $attributes, $conflict);
Please login to merge, or discard this patch.
src/app/Balloon.App.Convert/Job.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,6 @@
 block discarded – undo
53 53
     /**
54 54
      * Start job.
55 55
      *
56
-     * @param Server          $server
57
-     * @param LoggerInterface $logger
58 56
      *
59 57
      * @return bool
60 58
      */
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.Office/Api/v2/Documents.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\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 Documents extends Controller
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 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
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
         $tpl = new Template($type);
174 174
 
175 175
         $attributes = compact('readonly', 'meta');
176
-        $attributes = array_filter($attributes, function ($attribute) {return !is_null($attribute); });
176
+        $attributes = array_filter($attributes, function($attribute) {return !is_null($attribute); });
177 177
 
178 178
         $result = $parent->addFile($name, $tpl->get(), $attributes);
179 179
         $result = $this->decorator->decorate($result);
Please login to merge, or discard this patch.
src/lib/Filesystem/Delta.php 2 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,9 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * Add delta event.
72 72
      *
73
-     * @param string        $name
74 73
      * @param NodeInterface $node
75
-     * @param array         $options
76 74
      *
77 75
      * @return ObjectId
78 76
      */
@@ -359,7 +357,8 @@  discard block
 block discarded – undo
359 357
     /**
360 358
      * Get delta feed filter.
361 359
      *
362
-     * @param array $cursor
360
+     * @param integer[] $cursor
361
+     * @param NodeInterface|null $node
363 362
      *
364 363
      * @return array
365 364
      */
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/lib/Filesystem/Node/AbstractNode.php 2 patches
Doc Comments   +3 added lines, -9 removed lines patch added patch discarded remove patch
@@ -816,7 +816,6 @@  discard block
 block discarded – undo
816 816
     /**
817 817
      * Set app attributes.
818 818
      *
819
-     * @param AppInterface $app
820 819
      * @param array        $attributes
821 820
      *
822 821
      * @return NodeInterface
@@ -832,7 +831,6 @@  discard block
 block discarded – undo
832 831
     /**
833 832
      * Set app attribute.
834 833
      *
835
-     * @param AppInterface $app
836 834
      * @param string       $attribute
837 835
      * @param mixed        $value
838 836
      *
@@ -853,7 +851,6 @@  discard block
 block discarded – undo
853 851
     /**
854 852
      * Remove app attribute.
855 853
      *
856
-     * @param AppInterface $app
857 854
      *
858 855
      * @return NodeInterface
859 856
      */
@@ -870,7 +867,6 @@  discard block
 block discarded – undo
870 867
     /**
871 868
      * Remove app attribute.
872 869
      *
873
-     * @param AppInterface $app
874 870
      * @param string       $attribute
875 871
      *
876 872
      * @return NodeInterface
@@ -888,7 +884,6 @@  discard block
 block discarded – undo
888 884
     /**
889 885
      * Get app attribute.
890 886
      *
891
-     * @param AppInterface $app
892 887
      * @param string       $attribute
893 888
      *
894 889
      * @return mixed
@@ -905,7 +900,6 @@  discard block
 block discarded – undo
905 900
     /**
906 901
      * Get app attributes.
907 902
      *
908
-     * @param AppInterface $app
909 903
      *
910 904
      * @return array
911 905
      */
@@ -944,7 +938,7 @@  discard block
 block discarded – undo
944 938
     /**
945 939
      * Get meta attributes as array.
946 940
      *
947
-     * @param array $attribute Specify attributes to return
941
+     * @param array $attributes Specify attributes to return
948 942
      *
949 943
      * @return array
950 944
      */
@@ -1115,9 +1109,9 @@  discard block
 block discarded – undo
1115 1109
     /**
1116 1110
      * Get array value via string path.
1117 1111
      *
1118
-     * @param iterable $arr
1112
+     * @param iterable $array
1119 1113
      * @param string   $path
1120
-     * @param string   $seperator
1114
+     * @param string   $separator
1121 1115
      *
1122 1116
      * @return mixed
1123 1117
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 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
@@ -629,7 +629,7 @@  discard block
 block discarded – undo
629 629
             return true;
630 630
         }
631 631
 
632
-        return $this->doRecursiveAction(function ($node) use ($conflict, $recursion) {
632
+        return $this->doRecursiveAction(function($node) use ($conflict, $recursion) {
633 633
             $node->undelete($conflict, $recursion, false);
634 634
         }, NodeInterface::DELETED_ONLY);
635 635
     }
Please login to merge, or discard this patch.
src/app/Balloon.App.Elasticsearch/Api/v2/Search.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
      * @param array $query
108 108
      * @param array $attributes
109 109
      * @param int   $deleted
110
-     * @param mixed $limit
110
+     * @param integer $limit
111 111
      *
112 112
      * @return Response
113 113
      */
Please login to merge, or discard this patch.
src/app/Balloon.App.Elasticsearch/Api/v1/Search.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.Convert/Converter.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/Api/v2/Download.php 1 patch
Spacing   +2 added lines, -2 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
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             ->setHeader('Content-Type', 'application/octet-stream')
65 65
             ->setHeader('Content-Transfer-Encoding', 'binary')
66 66
             ->setOutputFormat(null)
67
-            ->setBody(function () use ($url) {
67
+            ->setBody(function() use ($url) {
68 68
                 $stream = fopen($url, 'r');
69 69
                 while (!feof($stream)) {
70 70
                     echo fread($stream, 8192);
Please login to merge, or discard this patch.