Test Failed
Push — master ( a81f7e...485dcb )
by Jean-Bernard
02:12
created
tests/Component/EngineAsArgumentInKernelControllerTest.php 1 patch
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.
tests/Component/AppKernel.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
             ->addArgument([])
137 137
         ;
138 138
 
139
-        $c->setParameter('router.resource',                       'kernel:loadRoutes'); // resource_type: service
139
+        $c->setParameter('router.resource', 'kernel:loadRoutes'); // resource_type: service
140 140
 //         $c->setParameter('router.resource',                       new Expression('service("kernel").loadRoutes'));
141 141
 //        $c->setParameter('router.resource',                       MicroKernel::class . ':loadRoutes');
142 142
 //         $c->setParameter('router.resource',                       new Reference('kernel') . ':loadRoutes');
@@ -147,16 +147,16 @@  discard block
 block discarded – undo
147 147
 //        $c->setParameter('router.resource',                       ['kernel', 'loadRoutes']);
148 148
 //        $c->setParameter('router.resource',                       [MicroKernel::class, 'loadRoutes']);
149 149
 
150
-        $c->setParameter('router.cache_class_prefix',             $c->getParameter('kernel.container_class'));
150
+        $c->setParameter('router.cache_class_prefix', $c->getParameter('kernel.container_class'));
151 151
         // symfony/framework-bundle/DependencyInjection/FrameworkExtension.php
152
-        $c->setParameter('router.options.generator_class',        UrlGenerator::class); // routing.xml
153
-        $c->setParameter('router.options.generator_base_class',   UrlGenerator::class); // routing.xml
152
+        $c->setParameter('router.options.generator_class', UrlGenerator::class); // routing.xml
153
+        $c->setParameter('router.options.generator_base_class', UrlGenerator::class); // routing.xml
154 154
         $c->setParameter('router.options.generator_dumper_class', PhpGeneratorDumper::class); // routing.xml
155
-        $c->setParameter('router.options.generator.cache_class',  '%router.cache_class_prefix%UrlGenerator'); // routing.xml
156
-        $c->setParameter('router.options.matcher_class',          RedirectableUrlMatcher::class); // routing.xml
157
-        $c->setParameter('router.options.matcher_base_class',     RedirectableUrlMatcher::class); // routing.xml
158
-        $c->setParameter('router.options.matcher_dumper_class',   PhpMatcherDumper::class); // routing.xml
159
-        $c->setParameter('router.options.matcher.cache_class',    '%router.cache_class_prefix%UrlMatcher'); // routing.xml
155
+        $c->setParameter('router.options.generator.cache_class', '%router.cache_class_prefix%UrlGenerator'); // routing.xml
156
+        $c->setParameter('router.options.matcher_class', RedirectableUrlMatcher::class); // routing.xml
157
+        $c->setParameter('router.options.matcher_base_class', RedirectableUrlMatcher::class); // routing.xml
158
+        $c->setParameter('router.options.matcher_dumper_class', PhpMatcherDumper::class); // routing.xml
159
+        $c->setParameter('router.options.matcher.cache_class', '%router.cache_class_prefix%UrlMatcher'); // routing.xml
160 160
 
161 161
         $c->setParameter('router.request_context.host', 'localhost'); // routing.xml
162 162
         $c->setParameter('router.request_context.scheme', 'http'); // routing.xml
Please login to merge, or discard this patch.