Passed
Push — master ( 4e7cc4...d260a2 )
by
unknown
02:49
created
src/Charcoal/Translator/Script/TranslationParserScript.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
                 $t = count($array[$index]);
338 338
                 $locales = $this->locales();
339 339
 
340
-                for (; $i<$t; $i++) {
340
+                for (; $i < $t; $i++) {
341 341
                     $this->climate()->inline('.');
342 342
                     $orig = $array[$index][$i];
343 343
                     foreach ($locales as $lang) {
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
         $max = $this->maxRecursiveLevel();
367 367
         $i = 1;
368 368
         $files = glob($pattern, $flags);
369
-        foreach (glob(dirname($pattern).'/*', (GLOB_ONLYDIR|GLOB_NOSORT)) as $dir) {
369
+        foreach (glob(dirname($pattern).'/*', (GLOB_ONLYDIR | GLOB_NOSORT)) as $dir) {
370 370
             $files = array_merge($files, $this->globRecursive($dir.'/'.basename($pattern), $flags));
371 371
             $i++;
372 372
             if ($i >= $max) {
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
             }
448 448
 
449 449
             foreach ($trans as $key => $translation) {
450
-                $data = [ $key, $translation ];
450
+                $data = [$key, $translation];
451 451
                 fputcsv($file, $data, $separator, $enclosure);
452 452
             }
453 453
             fclose($file);
Please login to merge, or discard this patch.