Completed
Pull Request — develop (#27)
by Chris
05:29
created
src/Dumper/Dumper.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Chrisyue\PhpM3u8\Dumper;
4 4
 
5 5
 use Chrisyue\PhpM3u8\Definition\TagDefinitions;
6
-use Chrisyue\PhpM3u8\Dumper\DataIterator\DataIteratorInterface;
7 6
 use Chrisyue\PhpM3u8\Config;
8 7
 use Chrisyue\PhpM3u8\Line\Lines;
9 8
 use Chrisyue\PhpM3u8\Line\Line;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
             $this->tagDefinitions->getHeadProperties(),
33 33
             $data,
34 34
             $lines,
35
-            function (TagDefinition $tagDefinition) {
35
+            function(TagDefinition $tagDefinition) {
36 36
                 if ('master-playlist' === $tagDefinition->getCategory()) {
37 37
                     $this->isMasterPlaylist = true;
38 38
                 }
Please login to merge, or discard this patch.
resources/definitions/attributeValueParsers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     'hexadecimal-sequence' => 'strval',
12 12
     'decimal-floating-point' => 'floatval',
13 13
     'signed-decimal-floating-point' => 'floatval',
14
-    'quoted-string' => function ($value) {
14
+    'quoted-string' => function($value) {
15 15
         return trim($value, '"');
16 16
     },
17 17
     'enumerated-string' => 'strval',
Please login to merge, or discard this patch.
resources/definitions/attributeValueDumpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     'hexadecimal-sequence' => 'strval',
11 11
     'decimal-floating-point' => 'strval',
12 12
     'signed-decimal-floating-point' => 'strval',
13
-    'quoted-string' => function ($value) {
13
+    'quoted-string' => function($value) {
14 14
         return sprintf("%s", $value);
15 15
     },
16 16
     'enumerated-string' => 'strval',
Please login to merge, or discard this patch.