@@ -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 | } |
@@ -71,9 +71,9 @@ discard block |
||
| 71 | 71 | public function addMappingBundle(string $bundle): self |
| 72 | 72 | { |
| 73 | 73 | $path = $this->kernel->getBundle($bundle)->getPath(); |
| 74 | - $path .= DIRECTORY_SEPARATOR . 'Resources'; |
|
| 75 | - $path .= DIRECTORY_SEPARATOR . 'config'; |
|
| 76 | - $path .= DIRECTORY_SEPARATOR . 'doctrine'; |
|
| 74 | + $path .= DIRECTORY_SEPARATOR.'Resources'; |
|
| 75 | + $path .= DIRECTORY_SEPARATOR.'config'; |
|
| 76 | + $path .= DIRECTORY_SEPARATOR.'doctrine'; |
|
| 77 | 77 | $this->addMappingPath($path); |
| 78 | 78 | |
| 79 | 79 | return $this; |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | |
| 98 | 98 | protected function getLastMappingValidateFilePath(): string |
| 99 | 99 | { |
| 100 | - return $this->kernel->getCacheDir() . DIRECTORY_SEPARATOR . 'dev_bundle_last_mapping_validate'; |
|
| 100 | + return $this->kernel->getCacheDir().DIRECTORY_SEPARATOR.'dev_bundle_last_mapping_validate'; |
|
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | protected function needValidate(): bool |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | public function load(array $configs, ContainerBuilder $container): void |
| 22 | 22 | { |
| 23 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 23 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 24 | 24 | $loader->load('services.yml'); |
| 25 | 25 | |
| 26 | 26 | $configuration = new Configuration(); |
@@ -8,6 +8,6 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function __construct(string $em, string $error) |
| 10 | 10 | { |
| 11 | - parent::__construct('[EntityManager : ' . $em . '] ' . $error); |
|
| 11 | + parent::__construct('[EntityManager : '.$em.'] '.$error); |
|
| 12 | 12 | } |
| 13 | 13 | } |