@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | ->isRequired() |
| 37 | 37 | ->validate() |
| 38 | 38 | ->always() |
| 39 | - ->then(function ($value) { |
|
| 39 | + ->then(function($value) { |
|
| 40 | 40 | if (!$value) { |
| 41 | 41 | return null; |
| 42 | 42 | } |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | ->isRequired() |
| 55 | 55 | ->validate() |
| 56 | 56 | ->always() |
| 57 | - ->then(function ($value) { |
|
| 57 | + ->then(function($value) { |
|
| 58 | 58 | if (!$value) { |
| 59 | 59 | return null; |
| 60 | 60 | } |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | if ($layoutConfig['host'] && $host === $layoutConfig['host']) { |
| 64 | 64 | $match = true; |
| 65 | 65 | } |
| 66 | - if ($layoutConfig['pattern'] && preg_match('~' . $layoutConfig['pattern'] . '~', $path)) { |
|
| 66 | + if ($layoutConfig['pattern'] && preg_match('~'.$layoutConfig['pattern'].'~', $path)) { |
|
| 67 | 67 | $match = true; |
| 68 | 68 | } |
| 69 | 69 | if ($match) { |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | $ext->load($config, $builder); |
| 69 | 69 | |
| 70 | 70 | foreach ($expected['orbitale_cms'] as $key => $value) { |
| 71 | - static::assertSame($value, $builder->getParameter('orbitale_cms.' . $key)); |
|
| 71 | + static::assertSame($value, $builder->getParameter('orbitale_cms.'.$key)); |
|
| 72 | 72 | } |
| 73 | 73 | } |
| 74 | 74 | |
@@ -87,16 +87,16 @@ discard block |
||
| 87 | 87 | $ext->load($config, $builder); |
| 88 | 88 | |
| 89 | 89 | foreach ($expected['orbitale_cms'] as $key => $value) { |
| 90 | - static::assertSame($value, $builder->getParameter('orbitale_cms.' . $key)); |
|
| 90 | + static::assertSame($value, $builder->getParameter('orbitale_cms.'.$key)); |
|
| 91 | 91 | } |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | public function provideConfiguration() |
| 95 | 95 | { |
| 96 | - $dir = __DIR__ . '/../Fixtures/App/extension_test/'; |
|
| 96 | + $dir = __DIR__.'/../Fixtures/App/extension_test/'; |
|
| 97 | 97 | |
| 98 | - $configFiles = glob($dir . 'config_*.yml'); |
|
| 99 | - $resultFiles = glob($dir . 'result_*.yml'); |
|
| 98 | + $configFiles = glob($dir.'config_*.yml'); |
|
| 99 | + $resultFiles = glob($dir.'result_*.yml'); |
|
| 100 | 100 | |
| 101 | 101 | sort($configFiles); |
| 102 | 102 | sort($resultFiles); |