Completed
Pull Request — master (#906)
by Paweł
11:04
created
...ndle_SettingsBundle_Tests_Functional_app_AppKernelTestDebugContainer.php 3 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -123,6 +123,9 @@
 block discarded – undo
123 123
         return require $this->containerDir.\DIRECTORY_SEPARATOR.'removed-ids.php';
124 124
     }
125 125
 
126
+    /**
127
+     * @param string $file
128
+     */
126 129
     protected function load($file, $lazyLoad = true)
127 130
     {
128 131
         return require $this->containerDir.\DIRECTORY_SEPARATOR.$file;
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace ContainerRQzXzK5;
4 4
 
5 5
 use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
6
-use Symfony\Component\DependencyInjection\ContainerInterface;
7 6
 use Symfony\Component\DependencyInjection\Container;
8 7
 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
9 8
 use Symfony\Component\DependencyInjection\Exception\LogicException;
10
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
11 9
 use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
12 10
 
13 11
 /**
Please login to merge, or discard this patch.
Spacing   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -213,103 +213,103 @@  discard block
 block discarded – undo
213 213
     {
214 214
         $this->services['event_dispatcher'] = $instance = new \Symfony\Component\EventDispatcher\EventDispatcher();
215 215
 
216
-        $instance->addListener('kernel.response', [0 => function () {
216
+        $instance->addListener('kernel.response', [0 => function() {
217 217
             return ($this->privates['response_listener'] ?? ($this->privates['response_listener'] = new \Symfony\Component\HttpKernel\EventListener\ResponseListener('UTF-8')));
218 218
         }, 1 => 'onKernelResponse'], 0);
219
-        $instance->addListener('kernel.response', [0 => function () {
219
+        $instance->addListener('kernel.response', [0 => function() {
220 220
             return ($this->privates['streamed_response_listener'] ?? ($this->privates['streamed_response_listener'] = new \Symfony\Component\HttpKernel\EventListener\StreamedResponseListener()));
221 221
         }, 1 => 'onKernelResponse'], -1024);
222
-        $instance->addListener('kernel.request', [0 => function () {
222
+        $instance->addListener('kernel.request', [0 => function() {
223 223
             return ($this->privates['locale_listener'] ?? $this->getLocaleListenerService());
224 224
         }, 1 => 'setDefaultLocale'], 100);
225
-        $instance->addListener('kernel.request', [0 => function () {
225
+        $instance->addListener('kernel.request', [0 => function() {
226 226
             return ($this->privates['locale_listener'] ?? $this->getLocaleListenerService());
227 227
         }, 1 => 'onKernelRequest'], 16);
228
-        $instance->addListener('kernel.finish_request', [0 => function () {
228
+        $instance->addListener('kernel.finish_request', [0 => function() {
229 229
             return ($this->privates['locale_listener'] ?? $this->getLocaleListenerService());
230 230
         }, 1 => 'onKernelFinishRequest'], 0);
231
-        $instance->addListener('kernel.request', [0 => function () {
231
+        $instance->addListener('kernel.request', [0 => function() {
232 232
             return ($this->privates['validate_request_listener'] ?? ($this->privates['validate_request_listener'] = new \Symfony\Component\HttpKernel\EventListener\ValidateRequestListener()));
233 233
         }, 1 => 'onKernelRequest'], 256);
234
-        $instance->addListener('kernel.request', [0 => function () {
234
+        $instance->addListener('kernel.request', [0 => function() {
235 235
             return ($this->privates['resolve_controller_name_subscriber'] ?? $this->getResolveControllerNameSubscriberService());
236 236
         }, 1 => 'onKernelRequest'], 24);
237
-        $instance->addListener('kernel.response', [0 => function () {
237
+        $instance->addListener('kernel.response', [0 => function() {
238 238
             return ($this->privates['disallow_search_engine_index_response_listener'] ?? ($this->privates['disallow_search_engine_index_response_listener'] = new \Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener()));
239 239
         }, 1 => 'onResponse'], -255);
240
-        $instance->addListener('console.error', [0 => function () {
240
+        $instance->addListener('console.error', [0 => function() {
241 241
             return ($this->privates['console.error_listener'] ?? $this->load('getConsole_ErrorListenerService.php'));
242 242
         }, 1 => 'onConsoleError'], -128);
243
-        $instance->addListener('console.terminate', [0 => function () {
243
+        $instance->addListener('console.terminate', [0 => function() {
244 244
             return ($this->privates['console.error_listener'] ?? $this->load('getConsole_ErrorListenerService.php'));
245 245
         }, 1 => 'onConsoleTerminate'], -128);
246
-        $instance->addListener('console.error', [0 => function () {
246
+        $instance->addListener('console.error', [0 => function() {
247 247
             return ($this->privates['console.suggest_missing_package_subscriber'] ?? ($this->privates['console.suggest_missing_package_subscriber'] = new \Symfony\Bundle\FrameworkBundle\EventListener\SuggestMissingPackageSubscriber()));
248 248
         }, 1 => 'onConsoleError'], 0);
249
-        $instance->addListener('kernel.request', [0 => function () {
249
+        $instance->addListener('kernel.request', [0 => function() {
250 250
             return ($this->privates['test.session.listener'] ?? $this->getTest_Session_ListenerService());
251 251
         }, 1 => 'onKernelRequest'], 192);
252
-        $instance->addListener('kernel.response', [0 => function () {
252
+        $instance->addListener('kernel.response', [0 => function() {
253 253
             return ($this->privates['test.session.listener'] ?? $this->getTest_Session_ListenerService());
254 254
         }, 1 => 'onKernelResponse'], -128);
255
-        $instance->addListener('kernel.request', [0 => function () {
255
+        $instance->addListener('kernel.request', [0 => function() {
256 256
             return ($this->privates['debug.debug_handlers_listener'] ?? $this->getDebug_DebugHandlersListenerService());
257 257
         }, 1 => 'configure'], 2048);
258
-        $instance->addListener('console.command', [0 => function () {
258
+        $instance->addListener('console.command', [0 => function() {
259 259
             return ($this->privates['debug.debug_handlers_listener'] ?? $this->getDebug_DebugHandlersListenerService());
260 260
         }, 1 => 'configure'], 2048);
261
-        $instance->addListener('kernel.exception', [0 => function () {
261
+        $instance->addListener('kernel.exception', [0 => function() {
262 262
             return ($this->privates['debug.debug_handlers_listener'] ?? $this->getDebug_DebugHandlersListenerService());
263 263
         }, 1 => 'onKernelException'], -2048);
264
-        $instance->addListener('kernel.request', [0 => function () {
264
+        $instance->addListener('kernel.request', [0 => function() {
265 265
             return ($this->privates['router_listener'] ?? $this->getRouterListenerService());
266 266
         }, 1 => 'onKernelRequest'], 32);
267
-        $instance->addListener('kernel.finish_request', [0 => function () {
267
+        $instance->addListener('kernel.finish_request', [0 => function() {
268 268
             return ($this->privates['router_listener'] ?? $this->getRouterListenerService());
269 269
         }, 1 => 'onKernelFinishRequest'], 0);
270
-        $instance->addListener('kernel.exception', [0 => function () {
270
+        $instance->addListener('kernel.exception', [0 => function() {
271 271
             return ($this->privates['router_listener'] ?? $this->getRouterListenerService());
272 272
         }, 1 => 'onKernelException'], -64);
273
-        $instance->addListener('kernel.response', [0 => function () {
273
+        $instance->addListener('kernel.response', [0 => function() {
274 274
             return ($this->privates['security.rememberme.response_listener'] ?? ($this->privates['security.rememberme.response_listener'] = new \Symfony\Component\Security\Http\RememberMe\ResponseListener()));
275 275
         }, 1 => 'onKernelResponse'], 0);
276
-        $instance->addListener('debug.security.authorization.vote', [0 => function () {
276
+        $instance->addListener('debug.security.authorization.vote', [0 => function() {
277 277
             return ($this->privates['debug.security.voter.vote_listener'] ?? $this->load('getDebug_Security_Voter_VoteListenerService.php'));
278 278
         }, 1 => 'onVoterVote'], 0);
279
-        $instance->addListener('kernel.request', [0 => function () {
279
+        $instance->addListener('kernel.request', [0 => function() {
280 280
             return ($this->privates['debug.security.firewall'] ?? $this->getDebug_Security_FirewallService());
281 281
         }, 1 => 'configureLogoutUrlGenerator'], 8);
282
-        $instance->addListener('kernel.request', [0 => function () {
282
+        $instance->addListener('kernel.request', [0 => function() {
283 283
             return ($this->privates['debug.security.firewall'] ?? $this->getDebug_Security_FirewallService());
284 284
         }, 1 => 'onKernelRequest'], 8);
285
-        $instance->addListener('kernel.finish_request', [0 => function () {
285
+        $instance->addListener('kernel.finish_request', [0 => function() {
286 286
             return ($this->privates['debug.security.firewall'] ?? $this->getDebug_Security_FirewallService());
287 287
         }, 1 => 'onKernelFinishRequest'], 0);
288
-        $instance->addListener('kernel.controller', [0 => function () {
288
+        $instance->addListener('kernel.controller', [0 => function() {
289 289
             return ($this->privates['sensio_framework_extra.controller.listener'] ?? $this->getSensioFrameworkExtra_Controller_ListenerService());
290 290
         }, 1 => 'onKernelController'], 0);
291
-        $instance->addListener('kernel.controller', [0 => function () {
291
+        $instance->addListener('kernel.controller', [0 => function() {
292 292
             return ($this->privates['sensio_framework_extra.converter.listener'] ?? $this->getSensioFrameworkExtra_Converter_ListenerService());
293 293
         }, 1 => 'onKernelController'], 0);
294
-        $instance->addListener('kernel.controller', [0 => function () {
294
+        $instance->addListener('kernel.controller', [0 => function() {
295 295
             return ($this->privates['sensio_framework_extra.cache.listener'] ?? ($this->privates['sensio_framework_extra.cache.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener()));
296 296
         }, 1 => 'onKernelController'], 0);
297
-        $instance->addListener('kernel.response', [0 => function () {
297
+        $instance->addListener('kernel.response', [0 => function() {
298 298
             return ($this->privates['sensio_framework_extra.cache.listener'] ?? ($this->privates['sensio_framework_extra.cache.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener()));
299 299
         }, 1 => 'onKernelResponse'], 0);
300
-        $instance->addListener('kernel.controller_arguments', [0 => function () {
300
+        $instance->addListener('kernel.controller_arguments', [0 => function() {
301 301
             return ($this->privates['sensio_framework_extra.security.listener'] ?? $this->getSensioFrameworkExtra_Security_ListenerService());
302 302
         }, 1 => 'onKernelControllerArguments'], 0);
303
-        $instance->addListener('kernel.controller_arguments', [0 => function () {
303
+        $instance->addListener('kernel.controller_arguments', [0 => function() {
304 304
             return ($this->privates['framework_extra_bundle.event.is_granted'] ?? $this->getFrameworkExtraBundle_Event_IsGrantedService());
305 305
         }, 1 => 'onKernelControllerArguments'], 0);
306
-        $instance->addListener('kernel.exception', [0 => function () {
306
+        $instance->addListener('kernel.exception', [0 => function() {
307 307
             return ($this->services['liip_functional_test.exception_listener'] ?? ($this->services['liip_functional_test.exception_listener'] = new \Liip\FunctionalTestBundle\EventListener\ExceptionListener()));
308 308
         }, 1 => 'setException'], 99999);
309
-        $instance->addListener('kernel.request', [0 => function () {
309
+        $instance->addListener('kernel.request', [0 => function() {
310 310
             return ($this->services['liip_functional_test.exception_listener'] ?? ($this->services['liip_functional_test.exception_listener'] = new \Liip\FunctionalTestBundle\EventListener\ExceptionListener()));
311 311
         }, 1 => 'clearLastException'], 99999);
312
-        $instance->addListener('kernel.request', [0 => function () {
312
+        $instance->addListener('kernel.request', [0 => function() {
313 313
             return ($this->services['liip_functional_test.validator'] ?? $this->getLiipFunctionalTest_ValidatorService());
314 314
         }, 1 => 'onKernelRequest'], 99999);
315 315
 
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
      */
460 460
     protected function getArgumentResolverService()
461 461
     {
462
-        return $this->privates['argument_resolver'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver(($this->privates['argument_metadata_factory'] ?? ($this->privates['argument_metadata_factory'] = new \Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory())), new RewindableGenerator(function () {
462
+        return $this->privates['argument_resolver'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver(($this->privates['argument_metadata_factory'] ?? ($this->privates['argument_metadata_factory'] = new \Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory())), new RewindableGenerator(function() {
463 463
             yield 0 => ($this->privates['argument_resolver.request_attribute'] ?? ($this->privates['argument_resolver.request_attribute'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestAttributeValueResolver()));
464 464
             yield 1 => ($this->privates['argument_resolver.request'] ?? ($this->privates['argument_resolver.request'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestValueResolver()));
465 465
             yield 2 => ($this->privates['argument_resolver.session'] ?? ($this->privates['argument_resolver.session'] = new \Symfony\Component\HttpKernel\Controller\ArgumentResolver\SessionValueResolver()));
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
      */
478 478
     protected function getConfigCacheFactoryService()
479 479
     {
480
-        return $this->privates['config_cache_factory'] = new \Symfony\Component\Config\ResourceCheckerConfigCacheFactory(new RewindableGenerator(function () {
480
+        return $this->privates['config_cache_factory'] = new \Symfony\Component\Config\ResourceCheckerConfigCacheFactory(new RewindableGenerator(function() {
481 481
             yield 0 => ($this->privates['dependency_injection.config.container_parameters_resource_checker'] ?? ($this->privates['dependency_injection.config.container_parameters_resource_checker'] = new \Symfony\Component\DependencyInjection\Config\ContainerParametersResourceChecker($this)));
482 482
             yield 1 => ($this->privates['config.resource.self_checking_resource_checker'] ?? ($this->privates['config.resource.self_checking_resource_checker'] = new \Symfony\Component\Config\Resource\SelfCheckingResourceChecker()));
483 483
         }, 2));
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
      */
541 541
     protected function getDebug_Security_Access_DecisionManager_InnerService()
542 542
     {
543
-        return $this->privates['debug.security.access.decision_manager.inner'] = new \Symfony\Component\Security\Core\Authorization\AccessDecisionManager(new RewindableGenerator(function () {
543
+        return $this->privates['debug.security.access.decision_manager.inner'] = new \Symfony\Component\Security\Core\Authorization\AccessDecisionManager(new RewindableGenerator(function() {
544 544
             yield 0 => ($this->privates['debug.security.voter.security.access.authenticated_voter'] ?? $this->load('getDebug_Security_Voter_Security_Access_AuthenticatedVoterService.php'));
545 545
             yield 1 => ($this->privates['debug.security.voter.security.access.simple_role_voter'] ?? $this->load('getDebug_Security_Voter_Security_Access_SimpleRoleVoterService.php'));
546 546
         }, 2), 'affirmative', false, true);
@@ -947,7 +947,7 @@  discard block
 block discarded – undo
947 947
      */
948 948
     protected function getSecurity_Authentication_ManagerService()
949 949
     {
950
-        $this->privates['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(new RewindableGenerator(function () {
950
+        $this->privates['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(new RewindableGenerator(function() {
951 951
             yield 0 => ($this->privates['security.authentication.provider.dao.main'] ?? $this->load('getSecurity_Authentication_Provider_Dao_MainService.php'));
952 952
             yield 1 => ($this->privates['security.authentication.provider.anonymous.main'] ?? ($this->privates['security.authentication.provider.anonymous.main'] = new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider($this->getParameter('container.build_hash'))));
953 953
         }, 2), true);
@@ -978,7 +978,7 @@  discard block
 block discarded – undo
978 978
             'security.firewall.map.context.main' => ['privates', 'security.firewall.map.context.main', 'getSecurity_Firewall_Map_Context_MainService.php', true],
979 979
         ], [
980 980
             'security.firewall.map.context.main' => '?',
981
-        ]), new RewindableGenerator(function () {
981
+        ]), new RewindableGenerator(function() {
982 982
             yield 'security.firewall.map.context.main' => NULL;
983 983
         }, 1));
984 984
     }
Please login to merge, or discard this patch.
var/cache/test/ContainerRQzXzK5/getAnnotations_CacheService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
4
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
5
-
6 3
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
7 4
 // Returns the private 'annotations.cache' shared service.
8 5
 
Please login to merge, or discard this patch.
var/cache/test/ContainerRQzXzK5/getAnnotations_CacheWarmerService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
4
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
5
-
6 3
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
7 4
 // Returns the private 'annotations.cache_warmer' shared service.
8 5
 
Please login to merge, or discard this patch.
var/cache/test/ContainerRQzXzK5/getArgumentResolver_DefaultService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
4
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
5
-
6 3
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
7 4
 // Returns the private 'argument_resolver.default' shared service.
8 5
 
Please login to merge, or discard this patch.
cache/test/ContainerRQzXzK5/getArgumentResolver_RequestAttributeService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
4
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
5
-
6 3
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
7 4
 // Returns the private 'argument_resolver.request_attribute' shared service.
8 5
 
Please login to merge, or discard this patch.
var/cache/test/ContainerRQzXzK5/getArgumentResolver_RequestService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
4
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
5
-
6 3
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
7 4
 // Returns the private 'argument_resolver.request' shared service.
8 5
 
Please login to merge, or discard this patch.
var/cache/test/ContainerRQzXzK5/getArgumentResolver_ServiceService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
4
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
5
-
6 3
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
7 4
 // Returns the private 'argument_resolver.service' shared service.
8 5
 
Please login to merge, or discard this patch.
var/cache/test/ContainerRQzXzK5/getArgumentResolver_SessionService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
4
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
5
-
6 3
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
7 4
 // Returns the private 'argument_resolver.session' shared service.
8 5
 
Please login to merge, or discard this patch.
var/cache/test/ContainerRQzXzK5/getArgumentResolver_VariadicService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
4
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
5
-
6 3
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
7 4
 // Returns the private 'argument_resolver.variadic' shared service.
8 5
 
Please login to merge, or discard this patch.