Completed
Push — master ( 1814e3...a26568 )
by Jean-Bernard
03:40 queued 01:42
created
tests/Component/EngineAsArgumentInKernelControllerTest.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 use Symfony\Component\HttpKernel\Controller\ArgumentResolver\SessionValueResolver;
26 26
 use Symfony\Component\HttpKernel\Controller\ArgumentResolver\VariadicValueResolver;
27 27
 use Symfony\Component\HttpKernel\Controller\ContainerControllerResolver;
28
-use Symfony\Component\HttpKernel\Controller\ControllerResolver;
29 28
 use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory;
30 29
 use Symfony\Component\HttpKernel\DependencyInjection\ControllerArgumentValueResolverPass;
31 30
 use Symfony\Component\HttpKernel\DependencyInjection\RegisterControllerArgumentLocatorsPass;
Please login to merge, or discard this patch.
tests/Component/AppKernel.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 // use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddConsoleCommandPass;
21 21
 use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ControllerArgumentValueResolverPass; // 2 versions of this!
22 22
 use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RoutingResolverPass;
23
-use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
24 23
 use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
25 24
 use Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader;
26 25
 use Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
tests/Component/InKernelTemplatingControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
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'
Please login to merge, or discard this patch.
public/app_dev.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
19 19
 }
20 20
 
21
-chdir('..') ; // TODO: is this needed and why? -- to find autoload, kernel.root_dir and config file
21
+chdir('..'); // TODO: is this needed and why? -- to find autoload, kernel.root_dir and config file
22 22
 
23 23
 $loader = require 'vendor/autoload.php';
24 24
 // $loader = require __DIR__.'/../vendor/autoload.php';
Please login to merge, or discard this patch.
tests/FrameworkTwig/src/AppKernel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,11 +95,11 @@
 block discarded – undo
95 95
 
96 96
     public function getCacheDir()
97 97
     {
98
-        return sys_get_temp_dir() . '/' . get_current_user() . parent::getCacheDir();
98
+        return sys_get_temp_dir().'/'.get_current_user().parent::getCacheDir();
99 99
     }
100 100
 
101 101
     public function getLogDir()
102 102
     {
103
-        return sys_get_temp_dir() . '/' . get_current_user() . parent::getLogDir();
103
+        return sys_get_temp_dir().'/'.get_current_user().parent::getLogDir();
104 104
     }
105 105
 }
Please login to merge, or discard this patch.