Completed
Branch dev (bc6e47)
by Raffael
02:23
created
src/lib/Converter/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.
src/lib/Converter/Adapter/AdapterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.
src/lib/Converter/Adapter/Office.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
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
                         throw new Exception('soffice option must be a path to an executable office suite');
148 148
                     }
149 149
 
150
-                    $this->soffice = (string) $value;
150
+                    $this->soffice = (string)$value;
151 151
 
152 152
                     break;
153 153
                 case 'tmp':
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
                         throw new Exception('tmp option must be a writable directory');
156 156
                     }
157 157
 
158
-                    $this->tmp = (string) $value;
158
+                    $this->tmp = (string)$value;
159 159
 
160 160
                     break;
161 161
                 case 'timeout':
@@ -163,11 +163,11 @@  discard block
 block discarded – undo
163 163
                         throw new Exception('timeout option must be a number');
164 164
                     }
165 165
 
166
-                    $this->timeout = (string) $value;
166
+                    $this->timeout = (string)$value;
167 167
 
168 168
                     break;
169 169
                 case 'preview_max_size':
170
-                    $this->preview_max_size = (int) $value;
170
+                    $this->preview_max_size = (int)$value;
171 171
 
172 172
                     break;
173 173
                 default:
Please login to merge, or discard this patch.
src/lib/App.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
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      *
74 74
      * @return AdapterAwareInterface
75 75
      */
76
-    public function injectAdapter($adapter, ?string $name = null): AdapterAwareInterface
76
+    public function injectAdapter($adapter, ?string $name = null) : AdapterAwareInterface
77 77
     {
78 78
         if (!($adapter instanceof AppInterface)) {
79 79
             throw new Exception('adapter needs to implement AppInterface');
Please login to merge, or discard this patch.
src/lib/App/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.
src/lib/App/AppInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.
src/lib/Mime.php 1 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
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @return Mime
42 42
      */
43
-    public function setOptions(?Iterable $config = null): self
43
+    public function setOptions(?Iterable $config = null) : self
44 44
     {
45 45
         if (null === $config) {
46 46
             return $this;
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         foreach ($config as $option => $value) {
50 50
             switch ($option) {
51 51
                 case 'db':
52
-                    $this->db = (string) $value;
52
+                    $this->db = (string)$value;
53 53
 
54 54
                 break;
55 55
                 default:
Please login to merge, or discard this patch.
src/lib/Converter.php 1 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
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      *
67 67
      * @return Converter
68 68
      */
69
-    public function setOptions(? Iterable $config = null): self
69
+    public function setOptions(? Iterable $config = null) : self
70 70
     {
71 71
         if (null === $config) {
72 72
             return $this;
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      *
118 118
      * @return AdapterInterface
119 119
      */
120
-    public function injectAdapter($adapter, ?string $name = null): AdapterAwareInterface
120
+    public function injectAdapter($adapter, ?string $name = null) : AdapterAwareInterface
121 121
     {
122 122
         if (!($adapter instanceof AdapterInterface)) {
123 123
             throw new Exception('adapter needs to implement AdapterInterface');
Please login to merge, or discard this patch.
src/lib/Filesystem/Delta/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.