@@ -61,7 +61,6 @@ Feature: Autodiscovering the application kernel
61
61
use Symfony\Component\DependencyInjection\ContainerBuilder;
62
62
use Symfony\Component\HttpFoundation\Response;
63
63
use Symfony\Component\HttpKernel\Kernel as HttpKernel;
64
- use Symfony\Component\Routing\RouteCollectionBuilder;
65
64
66
65
class Kernel extends HttpKernel
67
66
{
@@ -85,7 +84,7 @@ Feature: Autodiscovering the application kernel
85
84
$loader->load(__DIR__ . '/../config/services.yaml');
86
85
}
87
86
88
- protected function configureRoutes(RouteCollectionBuilder $routes): void {}
87
+ protected function configureRoutes($routes): void {}
89
88
}
90
89
"""
91
90
When I run Behat
@@ -101,7 +100,6 @@ Feature: Autodiscovering the application kernel
101
100
use Symfony\Component\DependencyInjection\ContainerBuilder;
102
101
use Symfony\Component\HttpFoundation\Response;
103
102
use Symfony\Component\HttpKernel\Kernel as HttpKernel;
104
- use Symfony\Component\Routing\RouteCollectionBuilder;
105
103
106
104
class AppKernel extends HttpKernel
107
105
{
@@ -125,7 +123,7 @@ Feature: Autodiscovering the application kernel
125
123
$loader->load(__DIR__ . '/../config/services.yaml');
126
124
}
127
125
128
- protected function configureRoutes(RouteCollectionBuilder $routes): void {}
126
+ protected function configureRoutes($routes): void {}
129
127
}
130
128
"""
131
129
When I run Behat
@@ -147,7 +145,6 @@ Feature: Autodiscovering the application kernel
147
145
use Symfony\Component\DependencyInjection\ContainerBuilder;
148
146
use Symfony\Component\HttpFoundation\Response;
149
147
use Symfony\Component\HttpKernel\Kernel as HttpKernel;
150
- use Symfony\Component\Routing\RouteCollectionBuilder;
151
148
152
149
class Kernel extends HttpKernel
153
150
{
@@ -171,7 +168,7 @@ Feature: Autodiscovering the application kernel
171
168
$loader->load(__DIR__ . '/../config/services.yaml');
172
169
}
173
170
174
- protected function configureRoutes(RouteCollectionBuilder $routes): void {}
171
+ protected function configureRoutes($routes): void {}
175
172
}
176
173
"""
177
174
And a kernel file "app/AppKernel.php" containing:
@@ -183,7 +180,6 @@ Feature: Autodiscovering the application kernel
183
180
use Symfony\Component\DependencyInjection\ContainerBuilder;
184
181
use Symfony\Component\HttpFoundation\Response;
185
182
use Symfony\Component\HttpKernel\Kernel as HttpKernel;
186
- use Symfony\Component\Routing\RouteCollectionBuilder;
187
183
188
184
class AppKernel extends HttpKernel
189
185
{
@@ -207,7 +203,7 @@ Feature: Autodiscovering the application kernel
207
203
$loader->load(__DIR__ . '/../config/services.yaml');
208
204
}
209
205
210
- protected function configureRoutes(RouteCollectionBuilder $routes): void {}
206
+ protected function configureRoutes($routes): void {}
211
207
}
212
208
"""
213
209
When I run Behat
0 commit comments