Completed
Push — master ( 0f7cfa...2ad6a6 )
by Raffael
04:11
created
src/lib/Hook/AutoCreateUser.php 1 patch
Spacing   +4 added lines, -4 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
@@ -110,15 +110,15 @@  discard block
 block discarded – undo
110 110
 
111 111
             switch ($value['type']) {
112 112
                 case 'string':
113
-                     $attributes[$attr] = (string) $value['value'];
113
+                     $attributes[$attr] = (string)$value['value'];
114 114
 
115 115
                 break;
116 116
                 case 'int':
117
-                     $attributes[$attr] = (int) $value['value'];
117
+                     $attributes[$attr] = (int)$value['value'];
118 118
 
119 119
                 break;
120 120
                 case 'bool':
121
-                     $attributes[$attr] = (bool) $value['value'];
121
+                     $attributes[$attr] = (bool)$value['value'];
122 122
 
123 123
                 break;
124 124
                 case 'binary':
Please login to merge, or discard this patch.
src/lib/Helper.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
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     public static function isValidTimestamp(string $timestamp): bool
88 88
     {
89
-        return ((string) (int) $timestamp === $timestamp)
89
+        return ((string)(int)$timestamp === $timestamp)
90 90
             && ($timestamp <= PHP_INT_MAX)
91 91
             && ($timestamp >= ~PHP_INT_MAX);
92 92
     }
Please login to merge, or discard this patch.
src/lib/Mime.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
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         foreach ($config as $option => $value) {
49 49
             switch ($option) {
50 50
                 case 'db':
51
-                    $this->db = (string) $value;
51
+                    $this->db = (string)$value;
52 52
 
53 53
                 break;
54 54
                 default:
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
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
                         throw new Exception('soffice option must be a path to an executable office suite');
156 156
                     }
157 157
 
158
-                    $this->soffice = (string) $value;
158
+                    $this->soffice = (string)$value;
159 159
 
160 160
                     break;
161 161
                 case 'tmp':
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
                         throw new Exception('tmp option must be a writable directory');
164 164
                     }
165 165
 
166
-                    $this->tmp = (string) $value;
166
+                    $this->tmp = (string)$value;
167 167
 
168 168
                     break;
169 169
                 case 'timeout':
@@ -171,11 +171,11 @@  discard block
 block discarded – undo
171 171
                         throw new Exception('timeout option must be a number');
172 172
                     }
173 173
 
174
-                    $this->timeout = (string) $value;
174
+                    $this->timeout = (string)$value;
175 175
 
176 176
                     break;
177 177
                 case 'preview_max_size':
178
-                    $this->preview_max_size = (int) $value;
178
+                    $this->preview_max_size = (int)$value;
179 179
 
180 180
                     break;
181 181
                 default:
Please login to merge, or discard this patch.
src/lib/Converter/Adapter/ImagickImage.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
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         foreach ($config as $option => $value) {
95 95
             switch ($option) {
96 96
                 case 'preview_max_size':
97
-                    $this->preview_max_size = (int) $value;
97
+                    $this->preview_max_size = (int)$value;
98 98
 
99 99
                     break;
100 100
                 default:
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function match(File $file): bool
112 112
     {
113
-        return (bool) preg_match($this->match_convert, $file->getContentType());
113
+        return (bool)preg_match($this->match_convert, $file->getContentType());
114 114
     }
115 115
 
116 116
     /**
Please login to merge, or discard this patch.
src/lib/Auth/Adapter/Basic/Db.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/Console/Useradd.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/Console/Groupadd.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/Console/Jobs.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.