@@ -40,7 +40,7 @@ |
||
| 40 | 40 | throw new EntityProcessingException( |
| 41 | 41 | 'Data for the entity is not valid', |
| 42 | 42 | array_map( |
| 43 | - function (ConstraintViolationInterface $violation) { |
|
| 43 | + function(ConstraintViolationInterface $violation) { |
|
| 44 | 44 | return $violation->getMessage(); |
| 45 | 45 | }, |
| 46 | 46 | iterator_to_array($list) |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | ->beforeNormalization() |
| 65 | 65 | ->ifArray() |
| 66 | 66 | ->then( |
| 67 | - function (array $v) { |
|
| 67 | + function(array $v) { |
|
| 68 | 68 | if (array_keys($v) !== range(0, count($v) - 1)) { |
| 69 | 69 | return $v; |
| 70 | 70 | } |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | ->beforeNormalization() |
| 118 | 118 | ->ifString() |
| 119 | 119 | ->then( |
| 120 | - function ($v) { |
|
| 120 | + function($v) { |
|
| 121 | 121 | return [$v]; |
| 122 | 122 | } |
| 123 | 123 | ) |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | /** {@inheritdoc} */ |
| 13 | 13 | public function registerContainerConfiguration(LoaderInterface $loader) |
| 14 | 14 | { |
| 15 | - return $loader->load(__DIR__ . '/config.yml'); |
|
| 15 | + return $loader->load(__DIR__.'/config.yml'); |
|
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | public function registerBundles() |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | protected function buildContainer() |
| 29 | 29 | { |
| 30 | 30 | $container = parent::buildContainer(); |
| 31 | - $container->addResource(new FileResource(__DIR__ . '/config.yml')); |
|
| 31 | + $container->addResource(new FileResource(__DIR__.'/config.yml')); |
|
| 32 | 32 | |
| 33 | 33 | return $container; |
| 34 | 34 | } |
@@ -11,13 +11,13 @@ |
||
| 11 | 11 | /** {@inheritdoc} */ |
| 12 | 12 | public function registerContainerConfiguration(LoaderInterface $loader) |
| 13 | 13 | { |
| 14 | - return $loader->load(__DIR__ . '/config.yml'); |
|
| 14 | + return $loader->load(__DIR__.'/config.yml'); |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | protected function buildContainer() |
| 18 | 18 | { |
| 19 | 19 | $container = parent::buildContainer(); |
| 20 | - $container->addResource(new FileResource(__DIR__ . '/config.yml')); |
|
| 20 | + $container->addResource(new FileResource(__DIR__.'/config.yml')); |
|
| 21 | 21 | |
| 22 | 22 | return $container; |
| 23 | 23 | } |
@@ -23,12 +23,12 @@ |
||
| 23 | 23 | |
| 24 | 24 | public function getCacheDir() |
| 25 | 25 | { |
| 26 | - return __DIR__ . '/../build/' . $this->getClassName() . '/cache'; |
|
| 26 | + return __DIR__.'/../build/'.$this->getClassName().'/cache'; |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | public function getLogDir() |
| 30 | 30 | { |
| 31 | - return __DIR__ . '/../build/' . $this->getClassName() . '/logs'; |
|
| 31 | + return __DIR__.'/../build/'.$this->getClassName().'/logs'; |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /** |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | implode( |
| 37 | 37 | "\n\n", |
| 38 | 38 | array_map( |
| 39 | - function ($l) { |
|
| 39 | + function($l) { |
|
| 40 | 40 | return implode("\n\n", $l); |
| 41 | 41 | }, |
| 42 | 42 | $errors |