Completed
Pull Request — master (#16)
by
unknown
03:03
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($this->side_values, function ($value) use ($height) {
75
+        $heights = array_filter($this->side_values, function($value) use ($height) {
76 76
             return $value < $height;
77 77
         });
78 78
 
Please login to merge, or discard this patch.
src/AWS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function __construct(array $config)
30 30
     {
31
-        $this->s3 = new S3Client($config);;
31
+        $this->s3 = new S3Client($config); ;
32 32
     }
33 33
 
34 34
     /**
Please login to merge, or discard this patch.
src/MediaInfo/Streams/Stream.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             $attr = array($attr);
39 39
         }
40 40
 
41
-        $out = array_filter($this->stream, function ($key) use ($attr) {
41
+        $out = array_filter($this->stream, function($key) use ($attr) {
42 42
             return in_array($key, $attr) || current($attr) === "*";
43 43
         }, ARRAY_FILTER_USE_KEY);
44 44
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             $attr = array($attr);
57 57
         }
58 58
 
59
-        $out = array_filter($this->stream, function ($key) use ($attr) {
59
+        $out = array_filter($this->stream, function($key) use ($attr) {
60 60
             return !in_array($key, $attr);
61 61
         }, ARRAY_FILTER_USE_KEY);
62 62
 
Please login to merge, or discard this patch.
src/FileManager.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,9 @@  discard block
 block discarded – undo
131 131
     public static function moveDir(string $source, string $destination)
132 132
     {
133 133
         foreach (scandir($source) as $file) {
134
-            if (in_array($file, [".", ".."])) continue;
134
+            if (in_array($file, [".", ".."])) {
135
+                continue;
136
+            }
135 137
             if (copy($source . $file, $destination . $file)) {
136 138
                 unlink($source . $file);
137 139
             }
@@ -153,7 +155,9 @@  discard block
 block discarded – undo
153 155
         }
154 156
 
155 157
         foreach (scandir($dir) as $item) {
156
-            if (in_array($item, [".", ".."])) continue;
158
+            if (in_array($item, [".", ".."])) {
159
+                continue;
160
+            }
157 161
             if (!static::deleteDirectory($dir . DIRECTORY_SEPARATOR . $item)) {
158 162
                 return false;
159 163
             }
Please login to merge, or discard this patch.
src/MediaInfo/Streams/StreamCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function audios()
40 40
     {
41
-        $audios = array_filter($this->streams, function (Stream $stream) {
41
+        $audios = array_filter($this->streams, function(Stream $stream) {
42 42
             return $stream->isAudio();
43 43
         });
44 44
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function videos()
52 52
     {
53
-        $videos = array_filter($this->streams, function (Stream $stream) {
53
+        $videos = array_filter($this->streams, function(Stream $stream) {
54 54
             return $stream->isVideo();
55 55
         });
56 56
 
Please login to merge, or discard this patch.