Completed
Push — master ( a03250...475c1c )
by Steevan
02:25
created
Exception/TranslationsNotFoundException.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
     {
12 12
         $missings = array();
13 13
         foreach ($messages as $message) {
14
-            $missing = '[ id : ' . $message['id'] . ', ';
15
-            $missing .= 'domain : ' . $message['domain'] . ', ';
16
-            $missing .= 'locale : ' . $message['locale'] . ' ]';
14
+            $missing = '[ id : '.$message['id'].', ';
15
+            $missing .= 'domain : '.$message['domain'].', ';
16
+            $missing .= 'locale : '.$message['locale'].' ]';
17 17
 
18 18
             $missings[] = $missing;
19 19
         }
20 20
 
21
-        parent::__construct('Translations not found : ' . implode(', ', $missings));
21
+        parent::__construct('Translations not found : '.implode(', ', $missings));
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
EventListener/TranslationsNotFoundListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                 $message['state'] === DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK
46 46
                 && $this->allowFallbacks === false
47 47
             ) {
48
-                $message['locale'] = 'fallback ' . $message['locale'] . ' found ';
48
+                $message['locale'] = 'fallback '.$message['locale'].' found ';
49 49
                 $message['locale'] .= 'but not allowed by config dev.translation.allow_fallbacks)';
50 50
                 $missings[] = $message;
51 51
             }
Please login to merge, or discard this patch.