Test Failed
Push — master ( 3d4a35...7e7df5 )
by Mostafa
11:48 queued 07:55
created
src/Storage/FFMpeg.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -122,15 +122,15 @@
 block discarded – undo
122 122
 
123 123
                     foreach ($output->streams as $stream) {
124 124
                         if (isset($stream->width)) {
125
-                            $meta['width'] = (int)$stream->width;
125
+                            $meta['width'] = (int) $stream->width;
126 126
                         }
127 127
 
128 128
                         if (isset($stream->height)) {
129
-                            $meta['height'] = (int)$stream->height;
129
+                            $meta['height'] = (int) $stream->height;
130 130
                         }
131 131
 
132 132
                         if (isset($stream->duration)) {
133
-                            $meta['duration'] = (int)$stream->duration;
133
+                            $meta['duration'] = (int) $stream->duration;
134 134
                         }
135 135
 
136 136
                         if (isset($stream->tags->rotate)) {
Please login to merge, or discard this patch.
src/Storage/Image.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,8 +92,8 @@
 block discarded – undo
92 92
         $size = $this->image->getSize();
93 93
 
94 94
         return [
95
-            'width'  => (int)$size->getWidth(),
96
-            'height' => (int)$size->getHeight(),
95
+            'width'  => (int) $size->getWidth(),
96
+            'height' => (int) $size->getHeight(),
97 97
         ];
98 98
     }
99 99
 
Please login to merge, or discard this patch.
src/UploadEntities.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -599,12 +599,12 @@  discard block
 block discarded – undo
599 599
         $unit = substr($number, -1);
600 600
 
601 601
         if (!array_key_exists($unit, $units)) {
602
-            return (int)$number;
602
+            return (int) $number;
603 603
         }
604 604
 
605
-        $number = (float)$number * $units[$unit];
605
+        $number = (float) $number * $units[$unit];
606 606
 
607
-        return (int)$number;
607
+        return (int) $number;
608 608
     }
609 609
 
610 610
     /**
@@ -730,7 +730,7 @@  discard block
 block discarded – undo
730 730
      */
731 731
     protected function outputToObject(): object
732 732
     {
733
-        $output = (object)$this->output;
733
+        $output = (object) $this->output;
734 734
 
735 735
         if ($this->camelCaseResponse) {
736 736
             $output->mimeType = $output->mime_type;
Please login to merge, or discard this patch.
src/Helpers/Validator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,11 +93,11 @@
 block discarded – undo
93 93
             throw new Exception('stream name [' . $name . '] should be an alpha numeric string');
94 94
         }
95 95
 
96
-        if($width <= 0) {
96
+        if ($width <= 0) {
97 97
             throw new Exception('width [' . $width . '] should be a positive number');
98 98
         }
99 99
 
100
-        if($height <= 0) {
100
+        if ($height <= 0) {
101 101
             throw new Exception('height [' . $height . '] should be a positive number');
102 102
         }
103 103
 
Please login to merge, or discard this patch.