@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | ->will($this->returnValue([ |
| 79 | 79 | '_route' => 'foo', |
| 80 | 80 | 'name' => 'Fabien', |
| 81 | - '_controller' => function ($name) { |
|
| 81 | + '_controller' => function($name) { |
|
| 82 | 82 | return new Response('Hello '.$name); |
| 83 | 83 | }, |
| 84 | 84 | ])) |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | { // from Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait |
| 173 | 173 | $routes->add( |
| 174 | 174 | '/', |
| 175 | - function () { |
|
| 175 | + function() { |
|
| 176 | 176 | return new Response('Hello'); |
| 177 | 177 | }, |
| 178 | 178 | 'index' |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | |
| 83 | 83 | public function registerContainerConfiguration(LoaderInterface $loader) |
| 84 | 84 | { |
| 85 | - $loader->load(function (ContainerBuilder $container) use ($loader) { |
|
| 85 | + $loader->load(function(ContainerBuilder $container) use ($loader) { |
|
| 86 | 86 | $this->configureContainer($container, $loader); |
| 87 | 87 | |
| 88 | 88 | $container->addObjectResource($this); ////////////// TODO understand and consider necessity. |
@@ -209,7 +209,7 @@ |
||
| 209 | 209 | { // from Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait |
| 210 | 210 | $routes->add( |
| 211 | 211 | '/', |
| 212 | - function () { |
|
| 212 | + function() { |
|
| 213 | 213 | return new Response('Hello'); |
| 214 | 214 | }, |
| 215 | 215 | 'index' |
@@ -23,7 +23,10 @@ |
||
| 23 | 23 | |
| 24 | 24 | public function testIndex() |
| 25 | 25 | { |
| 26 | - if ('3.4.0' >= Symfony\Component\HttpKernel\Kernel::VERSION) $this->markTestIncomplete(); // Test does not work any more with Symfony 3.4 |
|
| 26 | + if ('3.4.0' >= Symfony\Component\HttpKernel\Kernel::VERSION) { |
|
| 27 | + $this->markTestIncomplete(); |
|
| 28 | + } |
|
| 29 | + // Test does not work any more with Symfony 3.4 |
|
| 27 | 30 | |
| 28 | 31 | $client = static::createClient(); |
| 29 | 32 | |