Passed
Push — master ( a5ec62...590eaf )
by Michal
06:24
created
config_examples/CheckDictionaries/config.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@  discard block
 block discarded – undo
15 15
     return new InvalidConfigInstanceReturnedException('$basePath is not set. Use --params="basePath=/your/base/path"');
16 16
 }
17 17
 
18
-$container = require $basePath . '/app/bootstrap.php';
18
+$container = require $basePath.'/app/bootstrap.php';
19 19
 $containerParameters = $container->getParameters();
20 20
 $translationDirs = $containerParameters['translation']['dirs'] ?? [];
21 21
 
22
-$defaultTranslationDir = $basePath . '/app/lang';
22
+$defaultTranslationDir = $basePath.'/app/lang';
23 23
 if (file_exists($defaultTranslationDir)) {
24
-    $translationDirs[] = $basePath . '/app/lang';
24
+    $translationDirs[] = $basePath.'/app/lang';
25 25
 }
26 26
 
27 27
 if ($translationDirs === []) {
@@ -35,13 +35,13 @@  discard block
 block discarded – undo
35 35
 }
36 36
 $dictionaries = [];
37 37
 foreach ($files as $file) {
38
-    $filePath = (string)$file;
38
+    $filePath = (string) $file;
39 39
     $info = pathinfo($filePath);
40 40
     list($prefix, $lang,) = explode('.', $info['basename'], 3);
41 41
     if (isset($languages) && !in_array($lang, $languages)) {
42 42
         continue;
43 43
     }
44
-    $storage = new NeonFileStorage($filePath, $prefix . '.', '    ');
44
+    $storage = new NeonFileStorage($filePath, $prefix.'.', '    ');
45 45
     $dictionaries[$lang] = array_merge($dictionaries[$lang] ?? [], $storage->load());
46 46
 }
47 47
 
Please login to merge, or discard this patch.