Passed
Push — master ( d443a2...c17adb )
by Michal
05:16
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,8 +25,8 @@  discard block
 block discarded – undo
25 25
     $translationDirsToCheck = $containerParameters['translation']['dirs'] ?? [];
26 26
 }
27 27
 
28
-$translationDirsToCheck[] = $basePath . '/lang';
29
-$translationDirsToCheck[] = $basePath . '/app/lang';
28
+$translationDirsToCheck[] = $basePath.'/lang';
29
+$translationDirsToCheck[] = $basePath.'/app/lang';
30 30
 
31 31
 $translationDirs = [];
32 32
 foreach ($translationDirsToCheck as $translationDirToCheck) {
@@ -46,13 +46,13 @@  discard block
 block discarded – undo
46 46
 }
47 47
 $dictionaries = [];
48 48
 foreach ($files as $file) {
49
-    $filePath = (string)$file;
49
+    $filePath = (string) $file;
50 50
     $info = pathinfo($filePath);
51 51
     list($prefix, $lang,) = explode('.', $info['basename'], 3);
52 52
     if (isset($languages) && !in_array($lang, $languages)) {
53 53
         continue;
54 54
     }
55
-    $storage = new NeonFileStorage($filePath, $prefix . '.', '    ');
55
+    $storage = new NeonFileStorage($filePath, $prefix.'.', '    ');
56 56
     $dictionaries[$lang] = array_merge($dictionaries[$lang] ?? [], $storage->load());
57 57
 }
58 58
 
Please login to merge, or discard this patch.