Passed
Push — master ( c4519d...a8a876 )
by
unknown
39:37 queued 17:26
created
src/Spryker/Zed/Kernel/Communication/Controller/AbstractController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@
 block discarded – undo
373 373
     protected function renderView(string $view, array $parameters = [], ?Response $response = null): Response
374 374
     {
375 375
         if ($response instanceof StreamedResponse) {
376
-            $response->setCallback(function () use ($view, $parameters) {
376
+            $response->setCallback(function() use ($view, $parameters) {
377 377
                 $this->getTwig()->display($view, $parameters);
378 378
             });
379 379
 
Please login to merge, or discard this patch.
tests/SprykerTest/Shared/MerchantProduct/Helper/MerchantProductHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         $merchantProductAbstractEntity->setFkProductAbstract($seedData[MerchantProductTransfer::ID_PRODUCT_ABSTRACT]);
29 29
         $merchantProductAbstractEntity->save();
30 30
 
31
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($merchantProductAbstractEntity) {
31
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($merchantProductAbstractEntity) {
32 32
             $merchantProductAbstractEntity->delete();
33 33
         });
34 34
 
Please login to merge, or discard this patch.
Publisher/MerchantProduct/MerchantProductWritePublisherPluginTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,13 +56,13 @@
 block discarded – undo
56 56
     {
57 57
         parent::setUp();
58 58
 
59
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
59
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
60 60
             return [
61 61
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
62 62
             ];
63 63
         });
64 64
 
65
-        $this->tester->setDependency(ProductStorageDependencyProvider::PLUGINS_PRODUCT_ABSTRACT_STORAGE_EXPANDER, function (ZedContainer $container) {
65
+        $this->tester->setDependency(ProductStorageDependencyProvider::PLUGINS_PRODUCT_ABSTRACT_STORAGE_EXPANDER, function(ZedContainer $container) {
66 66
             return [
67 67
                 new MerchantProductAbstractStorageExpanderPlugin(),
68 68
             ];
Please login to merge, or discard this patch.
Http/src/Spryker/Glue/Http/Plugin/Application/HttpApplicationPlugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     protected function addKernelService(ContainerInterface $container): ContainerInterface
72 72
     {
73
-        $container->set(static::SERVICE_KERNEL, function (ContainerInterface $container) {
73
+        $container->set(static::SERVICE_KERNEL, function(ContainerInterface $container) {
74 74
             return new HttpKernel(
75 75
                 $this->getEventDispatcher($container),
76 76
                 $this->getResolver($container),
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     protected function addRequestStackService(ContainerInterface $container): ContainerInterface
90 90
     {
91
-        $container->set(static::SERVICE_REQUEST_STACK, function () {
91
+        $container->set(static::SERVICE_REQUEST_STACK, function() {
92 92
             return new RequestStack();
93 93
         });
94 94
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      */
103 103
     protected function addRequestContextService(ContainerInterface $container): ContainerInterface
104 104
     {
105
-        $container->set(static::SERVICE_REQUEST_CONTEXT, function () {
105
+        $container->set(static::SERVICE_REQUEST_CONTEXT, function() {
106 106
             $context = new RequestContext();
107 107
 
108 108
             $context->setHttpPort($this->getConfig()->getHttpPort());
Please login to merge, or discard this patch.
SprykerTest/Zed/EventDispatcher/_support/Helper/EventDispatcherHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     {
27 27
         /** @var \Spryker\Zed\EventDispatcher\Communication\Plugin\Application\EventDispatcherApplicationPlugin $eventDispatcherApplicationPlugin */
28 28
         $eventDispatcherApplicationPlugin = Stub::make(EventDispatcherApplicationPlugin::class, [
29
-            'getFactory' => function () {
29
+            'getFactory' => function() {
30 30
                 return $this->getFactory();
31 31
             },
32 32
         ]);
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     protected function getFactory(): EventDispatcherCommunicationFactory
41 41
     {
42 42
         $communicationHelper = $this->getCommunicationHelper();
43
-        $communicationHelper->mockFactoryMethod('getEventDispatcherPlugins', function () {
43
+        $communicationHelper->mockFactoryMethod('getEventDispatcherPlugins', function() {
44 44
             return $this->eventDispatcherPlugins;
45 45
         }, static::MODULE_NAME);
46 46
 
Please login to merge, or discard this patch.
Bundles/Kernel/src/Spryker/Shared/Kernel/Communication/ApplicationProxy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         public function addRouter(RouterInterface $router, $priority = 0)
71 71
         {
72 72
             /** @var \Spryker\Service\Container\ContainerInterface $this */
73
-            $this->set(static::ROUTERS, $this->extend(static::ROUTERS, function (ChainRouter $chainRouter) use ($router, $priority) {
73
+            $this->set(static::ROUTERS, $this->extend(static::ROUTERS, function(ChainRouter $chainRouter) use ($router, $priority) {
74 74
                 $chainRouter->add($router, $priority);
75 75
 
76 76
                 return $chainRouter;
Please login to merge, or discard this patch.
Plugin/EventDispatcher/RequestAttributesEventDispatcherPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     public function extend(EventDispatcherInterface $eventDispatcher, ContainerInterface $container): EventDispatcherInterface
52 52
     {
53
-        $eventDispatcher->addListener(KernelEvents::REQUEST, function (RequestEvent $event) {
53
+        $eventDispatcher->addListener(KernelEvents::REQUEST, function(RequestEvent $event) {
54 54
             return $this->addRequestAttributes($event);
55 55
         }, static::EARLY_EVENT);
56 56
 
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/Validator/_support/Helper/ValidatorHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     {
99 99
         /** @var \Spryker\Zed\Validator\Communication\Plugin\Application\ValidatorApplicationPlugin $validatorApplicationPlugin */
100 100
         $validatorApplicationPlugin = Stub::make(ValidatorApplicationPlugin::class, [
101
-            'getFactory' => function () {
101
+            'getFactory' => function() {
102 102
                 return $this->getFactory();
103 103
             },
104 104
         ]);
Please login to merge, or discard this patch.
Bundles/Form/tests/SprykerTest/Zed/Form/_support/Helper/FormHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,10 +87,10 @@
 block discarded – undo
87 87
     {
88 88
         /** @var \Spryker\Zed\Form\Communication\Plugin\Application\FormApplicationPlugin $formApplicationPlugin */
89 89
         $formApplicationPlugin = Stub::make(FormApplicationPlugin::class, [
90
-            'getFactory' => function () {
90
+            'getFactory' => function() {
91 91
                 return $this->getFactory();
92 92
             },
93
-            'getConfig' => function () {
93
+            'getConfig' => function() {
94 94
                 return $this->getConfig();
95 95
             },
96 96
         ]);
Please login to merge, or discard this patch.