Test Setup Failed
Push — master ( 7f5817...d7dba8 )
by Chauncey
02:18
created
src/Charcoal/Translator/Script/TranslationParserScript.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
                 $t = count($array[$index]);
365 365
                 $locales = $this->locales();
366 366
 
367
-                for (; $i<$t; $i++) {
367
+                for (; $i < $t; $i++) {
368 368
                     $this->climate()->inline('.');
369 369
                     $orig = $array[$index][$i];
370 370
                     foreach ($locales as $lang) {
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
         // $max = $this->maxRecursiveLevel();
395 395
         $i = 1;
396 396
         $files = glob($pattern, $flags);
397
-        foreach (glob(dirname($pattern).'/*', (GLOB_ONLYDIR|GLOB_NOSORT)) as $dir) {
397
+        foreach (glob(dirname($pattern).'/*', (GLOB_ONLYDIR | GLOB_NOSORT)) as $dir) {
398 398
             $files = array_merge($files, $this->globRecursive($dir.'/'.basename($pattern), $flags));
399 399
             $i++;
400 400
             // if ($i >= $max) {
@@ -478,7 +478,7 @@  discard block
 block discarded – undo
478 478
             }
479 479
 
480 480
             foreach ($trans as $key => $translation) {
481
-                $data = [ $key, $translation ];
481
+                $data = [$key, $translation];
482 482
                 fputcsv($file, $data, $separator, $enclosure);
483 483
             }
484 484
             fclose($file);
Please login to merge, or discard this patch.