Passed
Branch V2.0.1 (dc19da)
by Deric
01:59
created
lib/Filesystem.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -155,10 +155,10 @@  discard block
 block discarded – undo
155 155
                 continue;
156 156
             }
157 157
         }
158
-		return true;
158
+        return true;
159 159
     }
160 160
 
161
-	/**
161
+    /**
162 162
      * Returns pathnames matching a pattern (for files only & hidden files).
163 163
      *
164 164
      * @param  string $directory directory
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
             return false;
173 173
         }
174 174
 
175
-		$pattern = is_array(($pattern)) ? '{' . implode(',', $pattern) . '}' : $pattern;
175
+        $pattern = is_array(($pattern)) ? '{' . implode(',', $pattern) . '}' : $pattern;
176 176
         if ($pattern === null)
177 177
         {
178 178
             return array_diff(glob($directory . '/*'), ['.', '..']);
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -172,12 +172,12 @@  discard block
 block discarded – undo
172 172
             return false;
173 173
         }
174 174
 
175
-		$pattern = is_array(($pattern)) ? '{' . implode(',', $pattern) . '}' : $pattern;
175
+		$pattern = is_array(($pattern)) ? '{'.implode(',', $pattern).'}' : $pattern;
176 176
         if ($pattern === null)
177 177
         {
178
-            return array_diff(glob($directory . '/*'), ['.', '..']);
178
+            return array_diff(glob($directory.'/*'), ['.', '..']);
179 179
         }
180
-        return glob($directory . '/{,.}*' . $pattern . '*', GLOB_BRACE);
180
+        return glob($directory.'/{,.}*'.$pattern.'*', GLOB_BRACE);
181 181
     }
182 182
 
183 183
     /**
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
             {
270 270
                 if ($file != '.' && $file != '..')
271 271
                 {
272
-                    $files[] = $directory . '/' . $file;
272
+                    $files[] = $directory.'/'.$file;
273 273
                 }
274 274
             }
275 275
         }
Please login to merge, or discard this patch.