Passed
Branch master (af3dcf)
by Petr
08:01
created
Category
php-src/MetaSource/FileParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             $this->restoreNl(strval($headData[0])),
49 49
             $this->restoreNl(strval($headData[2])),
50 50
             $this->restoreNl(strval($headData[3])),
51
-            (int)$headData[1]
51
+            (int) $headData[1]
52 52
         );
53 53
     }
54 54
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                 $this->restoreNl(strval($data[0])),
75 75
                 $this->restoreNl(strval($data[2])),
76 76
                 $this->restoreNl(strval($data[3])),
77
-                (int)$data[1],
77
+                (int) $data[1],
78 78
                 boolval(intval($data[4]))
79 79
             );
80 80
             $menu->addItem($item);
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     public function pack(Menu $menu): string
85 85
     {
86 86
         $content = [];
87
-        $content[] = implode(Interfaces\IMenu::SEPARATOR, [ // header
87
+        $content[] = implode(Interfaces\IMenu::SEPARATOR, [// header
88 88
             $this->escapeNl($menu->getFile()),
89 89
             $menu->getDisplayCount(),
90 90
             $this->escapeNl($menu->getName()),
Please login to merge, or discard this patch.
php-tests/ProcessingTests/MetaProcessorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $this->assertTrue($lib->exists());
43 43
         $lib->load();
44 44
         $lib->setKey('copy.meta');
45
-        $lib->rearrangePositions([ // file => new position
45
+        $lib->rearrangePositions([// file => new position
46 46
             'dummy4.htm' => 3,
47 47
             'dummy2.htm' => 4,
48 48
         ]);
Please login to merge, or discard this patch.