Passed
Push — master ( 2ad8bc...aff4dc )
by David
01:54
created
src/Clients/CLIClient.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,8 +120,7 @@
 block discarded – undo
120 120
             try
121 121
             {
122 122
                 $this->exec(($this->java ?: 'java') . ' -version');
123
-            }
124
-            catch(Exception $exception)
123
+            } catch(Exception $exception)
125 124
             {
126 125
                 throw new Exception('Java command not found');
127 126
             }
Please login to merge, or discard this patch.
src/Clients/WebClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
      */
277 277
     public function setTimeout($value)
278 278
     {
279
-        $this->setOption(CURLOPT_TIMEOUT, (int) $value);
279
+        $this->setOption(CURLOPT_TIMEOUT, (int)$value);
280 280
 
281 281
         return $this;
282 282
     }
@@ -567,7 +567,7 @@  discard block
 block discarded – undo
567 567
             $options[CURLOPT_INFILESIZE] = filesize($file);
568 568
         }
569 569
         // other options for specific requests
570
-        elseif(in_array($type,  ['detectors', 'mime-types', 'parsers', 'version']))
570
+        elseif(in_array($type, ['detectors', 'mime-types', 'parsers', 'version']))
571 571
         {
572 572
             $options[CURLOPT_PUT] = false;
573 573
         }
Please login to merge, or discard this patch.
src/Metadata/ImageMetadata.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,13 +51,13 @@
 block discarded – undo
51 51
             case 'image height':
52 52
             case 'tiff:imageheigth':
53 53
             case 'tiff:imagelength':
54
-                $this->height = (int) $value;
54
+                $this->height = (int)$value;
55 55
                 break;
56 56
 
57 57
             case 'width':
58 58
             case 'image width':
59 59
             case 'tiff:imagewidth':
60
-                $this->width = (int) $value;
60
+                $this->width = (int)$value;
61 61
                 break;
62 62
 
63 63
             case 'x-tika:content':
Please login to merge, or discard this patch.
src/Metadata/DocumentMetadata.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,12 +141,12 @@
 block discarded – undo
141 141
             case 'nbpage':
142 142
             case 'page-count':
143 143
             case 'xmptpg:npages':
144
-                $this->pages = (int) $value;
144
+                $this->pages = (int)$value;
145 145
                 break;
146 146
 
147 147
             case 'nbword':
148 148
             case 'word-count':
149
-                $this->words = (int) $value;
149
+                $this->words = (int)$value;
150 150
                 break;
151 151
 
152 152
             case 'creation-date':
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      */
212 212
     public function setDownloadRemote($download)
213 213
     {
214
-        $this->downloadRemote = (bool) $download;
214
+        $this->downloadRemote = (bool)$download;
215 215
 
216 216
         return $this;
217 217
     }
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
      */
396 396
     public function setChecked($checked)
397 397
     {
398
-        $this->checked = (bool) $checked;
398
+        $this->checked = (bool)$checked;
399 399
     }
400 400
 
401 401
     /**
Please login to merge, or discard this patch.