@@ -29,12 +29,12 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | public function getCacheDir() |
| 31 | 31 | { |
| 32 | - return __DIR__ . '/var/cache/' . $this->environment; |
|
| 32 | + return __DIR__.'/var/cache/'.$this->environment; |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | public function getLogDir() |
| 36 | 36 | { |
| 37 | - return __DIR__ . '/var/logs/' . $this->environment; |
|
| 37 | + return __DIR__.'/var/logs/'.$this->environment; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
@@ -42,6 +42,6 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function registerContainerConfiguration(LoaderInterface $loader) |
| 44 | 44 | { |
| 45 | - $loader->load(__DIR__ . '/config/config_' . $this->getEnvironment() . '.yml'); |
|
| 45 | + $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml'); |
|
| 46 | 46 | } |
| 47 | 47 | } |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | return; |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | - $dir = __DIR__ . '/var'; |
|
| 78 | + $dir = __DIR__.'/var'; |
|
| 79 | 79 | |
| 80 | 80 | if (!is_dir($dir)) { |
| 81 | 81 | return; |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | public function load(array $configs, ContainerBuilder $container) |
| 27 | 27 | { |
| 28 | 28 | $config = $this->processConfiguration(new Configuration(), $configs); |
| 29 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 29 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 30 | 30 | $loader->load('services.yml'); |
| 31 | 31 | |
| 32 | 32 | if ($config['handle_exceptions']) { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | $dateTimeSerializerDefinition = $container->getDefinition('swagger.hydrator.class_name_resolver'); |
| 51 | 51 | if (isset($config['hydrator']['date_formats'])) { |
| 52 | 52 | foreach ($config['hydrator']['date_formats'] as $format) { |
| 53 | - $predefinedFormat = DateTimeSerializer::class . "::FORMAT_{$format}"; |
|
| 53 | + $predefinedFormat = DateTimeSerializer::class."::FORMAT_{$format}"; |
|
| 54 | 54 | if (defined($predefinedFormat)) { |
| 55 | 55 | $format = constant($predefinedFormat); |
| 56 | 56 | } |