Passed
Push — master ( c17adb...ab1834 )
by Michal
07:46
created
config_examples/CheckDictionaries/config.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 }
17 17
 
18 18
 $bootstrap = $bootstrap ?? 'app/bootstrap.php';
19
-$bootstrapPath = $basePath . '/' . $bootstrap;
19
+$bootstrapPath = $basePath.'/'.$bootstrap;
20 20
 
21 21
 $translationDirsToCheck = [];
22 22
 if (file_exists($bootstrapPath)) {
@@ -25,13 +25,13 @@  discard block
 block discarded – undo
25 25
     $translationDirsToCheck = $containerParameters['translation']['dirs'] ?? [];
26 26
 }
27 27
 
28
-$translationDirsToCheck[] = $basePath . '/lang';
28
+$translationDirsToCheck[] = $basePath.'/lang';
29 29
 foreach (['app', 'src'] as $srcDir) {
30 30
     try {
31 31
         $modulesLangFinder = Finder::create()
32 32
             ->directories()
33 33
             ->name('lang')
34
-            ->in($basePath . '/' . $srcDir);
34
+            ->in($basePath.'/'.$srcDir);
35 35
     } catch (DirectoryNotFoundException $e) {
36 36
         continue;
37 37
     }
@@ -60,13 +60,13 @@  discard block
 block discarded – undo
60 60
 }
61 61
 $dictionaries = [];
62 62
 foreach ($files as $file) {
63
-    $filePath = (string)$file;
63
+    $filePath = (string) $file;
64 64
     $info = pathinfo($filePath);
65 65
     list($prefix, $lang,) = explode('.', $info['basename'], 3);
66 66
     if (isset($languages) && !in_array($lang, $languages)) {
67 67
         continue;
68 68
     }
69
-    $storage = new NeonFileStorage($filePath, $prefix . '.', '    ');
69
+    $storage = new NeonFileStorage($filePath, $prefix.'.', '    ');
70 70
     $dictionaries[$lang] = array_merge($dictionaries[$lang] ?? [], $storage->load());
71 71
 }
72 72
 
Please login to merge, or discard this patch.