Completed
Push — master ( aa33b2...c5ca8d )
by Gabriel
02:08
created
src/Junty/Stream/StreamHandler.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -196,20 +196,20 @@  discard block
 block discarded – undo
196 196
 
197 197
         foreach (
198 198
             glob(
199
-                dirname($pattern) . DIRECTORY_SEPARATOR . '*',
200
-                GLOB_ONLYDIR | GLOB_NOSORT
199
+                dirname($pattern).DIRECTORY_SEPARATOR.'*',
200
+                GLOB_ONLYDIR|GLOB_NOSORT
201 201
             )
202 202
             as $dir
203 203
         ) {
204 204
             $globs = array_merge(
205 205
                 $globs,
206 206
                 $this->recoursiveGlob(
207
-                    $dir . DIRECTORY_SEPARATOR . basename($pattern), $flags
207
+                    $dir.DIRECTORY_SEPARATOR.basename($pattern), $flags
208 208
                 )
209 209
             );
210 210
         }
211 211
 
212
-        $globs = array_filter($globs, function ($res) {
212
+        $globs = array_filter($globs, function($res) {
213 213
             return !is_dir($res);
214 214
         });
215 215
 
@@ -227,10 +227,10 @@  discard block
 block discarded – undo
227 227
     private function ignoreFiles(array $files, $patterns)
228 228
     {
229 229
         if (null !== $patterns) {
230
-            $cbFilter = function () {return true;};
230
+            $cbFilter = function() {return true; };
231 231
 
232 232
             if (is_array($patterns)) {
233
-                $cbFilter = function ($glob) use ($patterns) {
233
+                $cbFilter = function($glob) use ($patterns) {
234 234
                     foreach ($patterns as $pattern) {
235 235
                         if (preg_match($pattern, $glob)) {
236 236
                             return false;
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
                     return true;
241 241
                 };
242 242
             } elseif (is_string($patterns)) {
243
-                $cbFilter = function ($glob) use ($patterns) {
243
+                $cbFilter = function($glob) use ($patterns) {
244 244
                     return !preg_match($patterns, $glob);
245 245
                 };
246 246
             }
Please login to merge, or discard this patch.