@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | public function defaultAction($templateName): Response |
| 23 | 23 | { |
| 24 | 24 | return $this->render( |
| 25 | - '@Test/Default/'.$templateName.'.twig', |
|
| 25 | + '@Test/Default/' . $templateName . '.twig', |
|
| 26 | 26 | [ |
| 27 | 27 | 'data' => [ |
| 28 | 28 | ['name' => 'Everette Grim', 'salary' => 5458.0], |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | { |
| 65 | 65 | $response = new Response( |
| 66 | 66 | $this->render( |
| 67 | - '@Test/Default/'.$templateName.'.twig', |
|
| 67 | + '@Test/Default/' . $templateName . '.twig', |
|
| 68 | 68 | [ |
| 69 | 69 | 'data' => [ |
| 70 | 70 | ['name' => 'Everette Grim', 'salary' => 5458.0], |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | */ |
| 30 | 30 | public function registerContainerConfiguration(LoaderInterface $loader) |
| 31 | 31 | { |
| 32 | - $loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml'); |
|
| 32 | + $loader->load($this->getRootDir() . '/config/config_' . $this->getEnvironment() . '.yml'); |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | public function getCacheDir() |
| 39 | 39 | { |
| 40 | - return $this->getRootDir().'/../../tmp/cache'; |
|
| 40 | + return $this->getRootDir() . '/../../tmp/cache'; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -45,6 +45,6 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | public function getLogDir() |
| 47 | 47 | { |
| 48 | - return $this->getRootDir().'/../../tmp/logs'; |
|
| 48 | + return $this->getRootDir() . '/../../tmp/logs'; |
|
| 49 | 49 | } |
| 50 | 50 | } |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | public static function setUpBeforeClass() |
| 39 | 39 | { |
| 40 | 40 | static::$fileSystem = new Filesystem(); |
| 41 | - static::$fileSystem->remove(__DIR__.static::$TEMP_PATH); |
|
| 41 | + static::$fileSystem->remove(__DIR__ . static::$TEMP_PATH); |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | public static function tearDownAfterClass() |
| 50 | 50 | { |
| 51 | 51 | if (in_array(getenv('DELETE_TEMP_FILES'), ['true', '1', 1, true], true)) { |
| 52 | - static::$fileSystem->remove(__DIR__.static::$TEMP_PATH); |
|
| 52 | + static::$fileSystem->remove(__DIR__ . static::$TEMP_PATH); |
|
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 | |
@@ -93,8 +93,8 @@ discard block |
||
| 93 | 93 | $source = static::$client->getResponse()->getContent(); |
| 94 | 94 | |
| 95 | 95 | // create paths |
| 96 | - $tempDirPath = __DIR__.static::$TEMP_PATH; |
|
| 97 | - $tempFilePath = $tempDirPath.'simple'.'.'.$format; |
|
| 96 | + $tempDirPath = __DIR__ . static::$TEMP_PATH; |
|
| 97 | + $tempFilePath = $tempDirPath . 'simple' . '.' . $format; |
|
| 98 | 98 | |
| 99 | 99 | // save source |
| 100 | 100 | static::$fileSystem->dumpFile($tempFilePath, $source); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | protected function loadInternal(array $mergedConfig, ContainerBuilder $container) |
| 22 | 22 | { |
| 23 | - $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 23 | + $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 24 | 24 | $loader->load('services.yml'); |
| 25 | 25 | |
| 26 | 26 | $container->setParameter('mewes_k_twig_spreadsheet.pre_calculate_formulas', $mergedConfig['pre_calculate_formulas']); |