@@ -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 | } |
@@ -89,9 +89,9 @@ discard block |
||
| 89 | 89 | public function addMappingBundle($bundle) |
| 90 | 90 | { |
| 91 | 91 | $path = $this->kernel->getBundle($bundle)->getPath(); |
| 92 | - $path .= DIRECTORY_SEPARATOR . 'Resources'; |
|
| 93 | - $path .= DIRECTORY_SEPARATOR . 'config'; |
|
| 94 | - $path .= DIRECTORY_SEPARATOR . 'doctrine'; |
|
| 92 | + $path .= DIRECTORY_SEPARATOR.'Resources'; |
|
| 93 | + $path .= DIRECTORY_SEPARATOR.'config'; |
|
| 94 | + $path .= DIRECTORY_SEPARATOR.'doctrine'; |
|
| 95 | 95 | $this->addMappingPath($path); |
| 96 | 96 | |
| 97 | 97 | return $this; |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | */ |
| 121 | 121 | protected function getLastMappingValidateFilePath() |
| 122 | 122 | { |
| 123 | - return $this->kernel->getCacheDir() . DIRECTORY_SEPARATOR . 'dev_bundle_last_mapping_validate'; |
|
| 123 | + return $this->kernel->getCacheDir().DIRECTORY_SEPARATOR.'dev_bundle_last_mapping_validate'; |
|
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | /** |