Completed
Push — master ( afe26c...8e077c )
by Amin
04:04 queued 01:28
created
src/FileManager.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,9 @@  discard block
 block discarded – undo
185 185
     {
186 186
         static::makeDir($destination);
187 187
         foreach (scandir($source) as $file) {
188
-            if (in_array($file, [".", ".."])) continue;
188
+            if (in_array($file, [".", ".."])) {
189
+                continue;
190
+            }
189 191
             if (copy($source . $file, $destination . $file)) {
190 192
                 unlink($source . $file);
191 193
             }
@@ -207,7 +209,9 @@  discard block
 block discarded – undo
207 209
         }
208 210
 
209 211
         foreach (scandir($dir) as $item) {
210
-            if (in_array($item, [".", ".."])) continue;
212
+            if (in_array($item, [".", ".."])) {
213
+                continue;
214
+            }
211 215
             if (!static::deleteDirectory($dir . DIRECTORY_SEPARATOR . $item)) {
212 216
                 return false;
213 217
             }
Please login to merge, or discard this patch.
src/AutoRepresentations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
 
143 143
         $h = $this->getDimensions()[1];
144 144
 
145
-        $this->side_values = array_values(array_filter($this->side_values, function ($height) use ($h) {
145
+        $this->side_values = array_values(array_filter($this->side_values, function($height) use ($h) {
146 146
             return $height < $h;
147 147
         }));
148 148
     }
Please login to merge, or discard this patch.
src/FFMpeg.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         try {
52 52
             return new Media($this->ffmpeg->open($path), $path, $is_tmp);
53 53
         } catch (ExceptionInterface $e) {
54
-            if($is_tmp){
54
+            if ($is_tmp) {
55 55
                 sleep(1);
56 56
                 unlink($path);
57 57
             }
Please login to merge, or discard this patch.
src/Metadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         $metadata["streams"] = $this->getStreamsMetadata();
39 39
 
40 40
         $filename = 'It is not possible to save metadata to clouds.';
41
-        if(!$this->export->isTmpDir()){
41
+        if (!$this->export->isTmpDir()) {
42 42
             $filename = $this->saveAsJson($metadata);
43 43
         }
44 44
 
Please login to merge, or discard this patch.
src/Clouds/AWS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             For more information see https://video.aminyazdanpanah.com/start/open-clouds and https://video.aminyazdanpanah.com/start/save-clouds',
35 35
             E_USER_DEPRECATED
36 36
         );
37
-        $this->s3 = new S3Client($config);;
37
+        $this->s3 = new S3Client($config); ;
38 38
     }
39 39
 
40 40
     /**
Please login to merge, or discard this patch.