Passed
Push — master ( 68e9c9...0b32db )
by Amin
02:06
created
src/AutoRepresentations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
         $representations[] = $this->addRepresentation($kilobitrate, $width, $height);
74 74
 
75
-        $heights = array_filter(static::heights, function ($value) use ($height) {
75
+        $heights = array_filter(static::heights, function($value) use ($height) {
76 76
             return $value < $height;
77 77
         });
78 78
 
Please login to merge, or discard this patch.
src/Filters/HLSFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
                 $filter[] = "-hls_segment_filename";
71 71
                 $filter[] = $dirname . "/" . $filename . "_" . $representation->getHeight() . "p_%04d.ts";
72 72
 
73
-                if(($hls_key_info_file = $media->getHlsKeyInfoFile()) !== ""){
73
+                if (($hls_key_info_file = $media->getHlsKeyInfoFile()) !== "") {
74 74
                     $filter[] = "-hls_key_info_file";
75 75
                     $filter[] = $hls_key_info_file;
76 76
                 }
Please login to merge, or discard this patch.
src/Traits/Formats.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      */
79 79
     public function setFormat($format)
80 80
     {
81
-        if(!$format instanceof Video){
81
+        if (!$format instanceof Video) {
82 82
             throw new Exception("Sorry! the format must be inherited from 'AYazdanpanah\FFMpegStreaming\Format\Video'");
83 83
         }
84 84
 
Please login to merge, or discard this patch.
src/helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 use AYazdanpanah\FFMpegStreaming\Format\HEVC;
22 22
 use AYazdanpanah\FFMpegStreaming\Format\X264;
23 23
 
24
-if (! function_exists('dash')) {
24
+if (!function_exists('dash')) {
25 25
     /**
26 26
      * Auto generate dash MPD file
27 27
      *
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     }
53 53
 }
54 54
 
55
-if (! function_exists('hls')) {
55
+if (!function_exists('hls')) {
56 56
     /**
57 57
      * Auto generate HLS M3U8 file
58 58
      *
Please login to merge, or discard this patch.