Cancelled
Push — master ( e1e02b...1e7a78 )
by Mantas
02:19
created
src/code/Converters/VttConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 
72 72
     public static function fixLine()
73 73
     {
74
-        return function ($line) {
74
+        return function($line) {
75 75
             if (substr($line, 0, 3) == '<v ') {
76 76
                 $line = substr($line, 3);
77 77
                 $line = str_replace('>', ' ', $line);
Please login to merge, or discard this patch.
src/Subtitles.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             'end' => $end,
92 92
             'lines' => is_array($text) ? $text : [$text],
93 93
         ];
94
-        usort($this->internal_format, function ($item1, $item2) {
94
+        usort($this->internal_format, function($item1, $item2) {
95 95
             // return $item2['start'] <=> $item1['start']; // from  PHP 7
96 96
             if ($item2['start'] == $item1['start']) {
97 97
                 return 0;
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 
224 224
     public static function removeUtf8Bom($text)
225 225
     {
226
-        $bom = pack('H*','EFBBBF');
226
+        $bom = pack('H*', 'EFBBBF');
227 227
         $text = preg_replace("/^$bom/", '', $text);
228 228
 
229 229
         return $text;
Please login to merge, or discard this patch.