Passed
Push — main ( a1e548...833a7d )
by Sammy
01:13
created
FileSystem.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
 
20 20
   public function filenames($regex=null) : array
21 21
   {
22
-		if(!file_exists($this->root_path) && mkdir($this->root_path) === false)
23
-			return [];
22
+    if(!file_exists($this->root_path) && mkdir($this->root_path) === false)
23
+      return [];
24 24
 
25 25
     $filenames = self::preg_scandir($this->root_path, $regex);// ID_SEQUENCENUMBER.ext
26 26
     if(!is_null($filenames))
Please login to merge, or discard this patch.
Text/CSV.class.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 class CSV extends TextFile
6 6
 {
7
-	const LIST_ANORMAL_SEPARATOR_REGEX = '/\r\n|\n|\r/';
7
+  const LIST_ANORMAL_SEPARATOR_REGEX = '/\r\n|\n|\r/';
8 8
 
9 9
   // T — Gets line from file pointer and parse for CSV fields
10 10
   // fgetcsv ( resource $handle [, int $length = 0 [, string $delimiter = "," [, string $enclosure = '"' [, string $escape = "\\" ]]]] ) : array
@@ -29,10 +29,10 @@  discard block
 block discarded – undo
29 29
 
30 30
 
31 31
 */
32
-	function array()
33
-	{
34
-		return array_map('str_getcsv', parent::array());
35
-	}
32
+  function array()
33
+  {
34
+    return array_map('str_getcsv', parent::array());
35
+  }
36 36
 
37 37
   //TODO WTF is this doing here ??
38 38
   public static function collection_of_models_to_csv($collection, $model, $output)
Please login to merge, or discard this patch.