@@ -48,9 +48,9 @@ discard block |
||
48 | 48 | public function addBundleToScan($bundle) |
49 | 49 | { |
50 | 50 | $path = $this->kernel->getBundle($bundle)->getPath(); |
51 | - $path .= DIRECTORY_SEPARATOR . 'Resources'; |
|
52 | - $path .= DIRECTORY_SEPARATOR . 'config'; |
|
53 | - $path .= DIRECTORY_SEPARATOR . 'doctrine'; |
|
51 | + $path .= DIRECTORY_SEPARATOR.'Resources'; |
|
52 | + $path .= DIRECTORY_SEPARATOR.'config'; |
|
53 | + $path .= DIRECTORY_SEPARATOR.'doctrine'; |
|
54 | 54 | $this->addPathToScan($path); |
55 | 55 | |
56 | 56 | return $this; |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | */ |
110 | 110 | protected function getSessionId($id) |
111 | 111 | { |
112 | - return 'session-cache_' . $id; |
|
112 | + return 'session-cache_'.$id; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | public function __construct($id, $locale, $domain) |
13 | 13 | { |
14 | - $message = 'Translation "' . $id . '" not found for domain "' . $domain . '", locale "' . $locale . '".'; |
|
14 | + $message = 'Translation "'.$id.'" not found for domain "'.$domain.'", locale "'.$locale.'".'; |
|
15 | 15 | parent::__construct($message); |
16 | 16 | } |
17 | 17 | } |
@@ -10,6 +10,6 @@ |
||
10 | 10 | */ |
11 | 11 | public function __construct($em, $error) |
12 | 12 | { |
13 | - parent::__construct('[EntityManager : ' . $em . '] ' . $error); |
|
13 | + parent::__construct('[EntityManager : '.$em.'] '.$error); |
|
14 | 14 | } |
15 | 15 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | */ |
18 | 18 | public function load(array $configs, ContainerBuilder $container) |
19 | 19 | { |
20 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
20 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
21 | 21 | $loader->load('services.yml'); |
22 | 22 | |
23 | 23 | $configuration = new Configuration(); |
@@ -11,13 +11,13 @@ |
||
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 | } |
@@ -45,7 +45,7 @@ |
||
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 | } |