Passed
Push — main ( 6abd64...a703e3 )
by Sammy
01:24
created
Text/INI.class.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,14 +11,14 @@
 block discarded – undo
11 11
 
12 12
         if (is_array(current($array))) { // with sections
13 13
             foreach ($array as $section => $data) {
14
-                $ret.= PHP_EOL.PHP_EOL.self::section($section);
14
+                $ret .= PHP_EOL.PHP_EOL.self::section($section);
15 15
                 foreach ($data as $key => $value) {
16
-                    $ret.= PHP_EOL.self::line($key, $value);
16
+                    $ret .= PHP_EOL.self::line($key, $value);
17 17
                 }
18 18
             }
19 19
         } else { // no section
20 20
             foreach ($array as $key => $value) {
21
-                $ret.= self::line($key, $value);
21
+                $ret .= self::line($key, $value);
22 22
             }
23 23
         }
24 24
 
Please login to merge, or discard this patch.
FileSystem.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
             return [];
24 24
         }
25 25
 
26
-        $filenames = self::preg_scandir($this->root_path, $regex);// ID_SEQUENCENUMBER.ext
26
+        $filenames = self::preg_scandir($this->root_path, $regex); // ID_SEQUENCENUMBER.ext
27 27
         if (!is_null($filenames)) {
28 28
             sort($filenames);
29 29
         }
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         }
133 133
 
134 134
         if (($filenames = scandir($dir_path, SCANDIR_SORT_ASCENDING)) !== false) {
135
-            return is_null($regex)? $filenames : preg_grep($regex, $filenames);
135
+            return is_null($regex) ? $filenames : preg_grep($regex, $filenames);
136 136
         }
137 137
 
138 138
         throw new \Exception("directory path '$dir_path' cannot be scanned");
Please login to merge, or discard this patch.
FilePath.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             $this->file = $res['basename'];
47 47
             $this->file_extension = $res['extension'];
48 48
 
49
-            $this->already_parsed=true;
49
+            $this->already_parsed = true;
50 50
         }
51 51
         return $this;
52 52
     }
Please login to merge, or discard this patch.