@@ -16,7 +16,7 @@ discard block  | 
                                                    ||
| 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)) { | 
                                                        
@@ -24,13 +24,13 @@ discard block  | 
                                                    ||
| 24 | 24 |      $translationDirsToCheck = method_exists($container, 'getParameter') ? ($container->getParameter('translation')['dirs'] ?? []) : ($container->getParameters()['translation']['dirs'] ?? []); | 
                                                        
| 25 | 25 | }  | 
                                                        
| 26 | 26 | |
| 27 | -$translationDirsToCheck[] = $basePath . '/lang';  | 
                                                        |
| 27 | +$translationDirsToCheck[] = $basePath.'/lang';  | 
                                                        |
| 28 | 28 |  foreach (['app', 'src'] as $srcDir) { | 
                                                        
| 29 | 29 |      try { | 
                                                        
| 30 | 30 | $modulesLangFinder = Finder::create()  | 
                                                        
| 31 | 31 | ->directories()  | 
                                                        
| 32 | 32 |              ->name('lang') | 
                                                        
| 33 | - ->in($basePath . '/' . $srcDir);  | 
                                                        |
| 33 | + ->in($basePath.'/'.$srcDir);  | 
                                                        |
| 34 | 34 |      } catch (DirectoryNotFoundException $e) { | 
                                                        
| 35 | 35 | continue;  | 
                                                        
| 36 | 36 | }  | 
                                                        
@@ -59,13 +59,13 @@ discard block  | 
                                                    ||
| 59 | 59 | }  | 
                                                        
| 60 | 60 | $dictionaries = [];  | 
                                                        
| 61 | 61 |  foreach ($files as $file) { | 
                                                        
| 62 | - $filePath = (string)$file;  | 
                                                        |
| 62 | + $filePath = (string) $file;  | 
                                                        |
| 63 | 63 | $info = pathinfo($filePath);  | 
                                                        
| 64 | 64 |      list($prefix, $lang,) = explode('.', $info['basename'], 3); | 
                                                        
| 65 | 65 |      if (isset($languages) && !in_array($lang, $languages)) { | 
                                                        
| 66 | 66 | continue;  | 
                                                        
| 67 | 67 | }  | 
                                                        
| 68 | - $storage = new NeonFileStorage($filePath, $prefix . '.', ' ');  | 
                                                        |
| 68 | + $storage = new NeonFileStorage($filePath, $prefix.'.', ' ');  | 
                                                        |
| 69 | 69 | $dictionaries[$lang] = array_merge($dictionaries[$lang] ?? [], $storage->load());  | 
                                                        
| 70 | 70 | }  | 
                                                        
| 71 | 71 | |