Passed
Push — master ( dcf2c9...7d6389 )
by Amin
24:33
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/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
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     private function getResolutions(): array
103 103
     {
104 104
         $resolutions = [];
105
-        if(!method_exists($this->export, 'getRepresentations')){
105
+        if (!method_exists($this->export, 'getRepresentations')) {
106 106
             return $resolutions;
107 107
         }
108 108
 
Please login to merge, or discard this patch.
src/HLS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,6 +199,6 @@
 block discarded – undo
199 199
      */
200 200
     private function savePlaylist($path, $reps)
201 201
     {
202
-        HLSPlaylist::save($this->master_playlist ?? $path, $reps, pathinfo($path,  PATHINFO_FILENAME));
202
+        HLSPlaylist::save($this->master_playlist ?? $path, $reps, pathinfo($path, PATHINFO_FILENAME));
203 203
     }
204 204
 }
205 205
\ No newline at end of file
Please login to merge, or discard this patch.