Passed
Push — master ( f27e34...4d4fc5 )
by Amin
02:11
created
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/Format/HEVC.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $this->setVideoCodec($video_codec);
25 25
 
26
-        if($audio_codec){
26
+        if ($audio_codec) {
27 27
             $this->setAudioCodec($audio_codec);
28 28
         }
29 29
     }
Please login to merge, or discard this patch.
src/File.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,9 @@
 block discarded – undo
42 42
         if (is_dir($dir)) {
43 43
             $size = 0;
44 44
             foreach (scandir($dir) as $file) {
45
-                if (in_array($file, [".", ".."])) continue;
45
+                if (in_array($file, [".", ".."])) {
46
+                    continue;
47
+                }
46 48
                 $filename = $dir . DIRECTORY_SEPARATOR . $file;
47 49
                 $size += is_file($filename) ? filesize($filename) : static::directorySize($filename);
48 50
             }
Please login to merge, or discard this patch.
src/Format/VP9.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $this->setVideoCodec($video_codec);
25 25
 
26
-        if($audio_codec){
26
+        if ($audio_codec) {
27 27
             $this->setAudioCodec($audio_codec);
28 28
         }
29 29
     }
Please login to merge, or discard this patch.
src/Format/X264.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $this->setVideoCodec($video_codec);
25 25
 
26
-        if($audio_codec){
26
+        if ($audio_codec) {
27 27
             $this->setAudioCodec($audio_codec);
28 28
         }
29 29
     }
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
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
             return [];
105 105
         }
106 106
 
107
-        return array_map([$this, 'repToArray'], $this->export->getRepresentations() );
107
+        return array_map([$this, 'repToArray'], $this->export->getRepresentations());
108 108
     }
109 109
 
110 110
 
Please login to merge, or discard this patch.