Passed
Push — master ( e0cd82...d9403f )
by
unknown
30:43
created
Bundles/Cart/tests/SprykerTest/Client/Cart/CartOperationTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -463,7 +463,7 @@  discard block
 block discarded – undo
463 463
 
464 464
         $quoteClientMock
465 465
             ->method('setQuote')
466
-            ->willReturnCallback(function (QuoteTransfer $quoteTransfer) {
466
+            ->willReturnCallback(function(QuoteTransfer $quoteTransfer) {
467 467
                 return $quoteTransfer;
468 468
             });
469 469
 
@@ -502,13 +502,13 @@  discard block
 block discarded – undo
502 502
 
503 503
         $cartChangeRequestExpanderMock
504 504
             ->method('addItemsRequestExpand')
505
-            ->willReturnCallback(function (CartChangeTransfer $cartChangeTransfer) {
505
+            ->willReturnCallback(function(CartChangeTransfer $cartChangeTransfer) {
506 506
                 return $cartChangeTransfer;
507 507
             });
508 508
 
509 509
         $cartChangeRequestExpanderMock
510 510
             ->method('removeItemRequestExpand')
511
-            ->willReturnCallback(function (CartChangeTransfer $cartChangeTransfer) {
511
+            ->willReturnCallback(function(CartChangeTransfer $cartChangeTransfer) {
512 512
                 return $cartChangeTransfer;
513 513
             });
514 514
 
Please login to merge, or discard this patch.
src/Spryker/Yves/Session/Plugin/Application/SessionApplicationPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     protected function addSessionService(ContainerInterface $container): ContainerInterface
65 65
     {
66
-        $container->set(static::SERVICE_SESSION, function (ContainerInterface $container) {
66
+        $container->set(static::SERVICE_SESSION, function(ContainerInterface $container) {
67 67
             return new Session($this->createSessionStorage($container));
68 68
         });
69 69
 
Please login to merge, or discard this patch.
src/Spryker/Glue/Session/Plugin/Application/SessionApplicationPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      */
58 58
     protected function addSessionService(ContainerInterface $container): ContainerInterface
59 59
     {
60
-        $container->set(static::SERVICE_SESSION, function () {
60
+        $container->set(static::SERVICE_SESSION, function() {
61 61
             return $this->getFactory()->createSession();
62 62
         });
63 63
 
Please login to merge, or discard this patch.
Zed/Session/Communication/Plugin/Application/SessionApplicationPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     protected function addSessionService(ContainerInterface $container): ContainerInterface
65 65
     {
66
-        $container->set(static::SERVICE_SESSION, function (ContainerInterface $container) {
66
+        $container->set(static::SERVICE_SESSION, function(ContainerInterface $container) {
67 67
             return new Session($this->createSessionStorage($container));
68 68
         });
69 69
 
Please login to merge, or discard this patch.
EventDispatcher/Plugin/Application/EventDispatcherApplicationPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             return $this->extendExistingEventDispatcher($container);
41 41
         }
42 42
 
43
-        $container->set(static::SERVICE_DISPATCHER, function (ContainerInterface $container) {
43
+        $container->set(static::SERVICE_DISPATCHER, function(ContainerInterface $container) {
44 44
             $eventDispatcher = $this->getFactory()->createEventDispatcher();
45 45
 
46 46
             $eventDispatcher = $this->extendEventDispatcher($eventDispatcher, $container);
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     protected function extendExistingEventDispatcher(ContainerInterface $container): ContainerInterface
62 62
     {
63
-        $container->extend(static::SERVICE_DISPATCHER, function (SymfonyEventDispatcherInterface $existingEventDispatcher, ContainerInterface $container) {
63
+        $container->extend(static::SERVICE_DISPATCHER, function(SymfonyEventDispatcherInterface $existingEventDispatcher, ContainerInterface $container) {
64 64
             $eventDispatcher = $this->getFactory()->createEventDispatcher();
65 65
 
66 66
             if ($existingEventDispatcher instanceof SymfonyTraceableEventDispatcher && $container->has(static::SERVICE_STOPWATCH)) {
Please login to merge, or discard this patch.
Communication/Plugin/Application/EventDispatcherApplicationPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             return $this->extendExistingEventDispatcher($container);
41 41
         }
42 42
 
43
-        $container->set(static::SERVICE_DISPATCHER, function (ContainerInterface $container) {
43
+        $container->set(static::SERVICE_DISPATCHER, function(ContainerInterface $container) {
44 44
             $eventDispatcher = $this->getFactory()->createEventDispatcher();
45 45
 
46 46
             $eventDispatcher = $this->extendEventDispatcher($eventDispatcher, $container);
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     protected function extendExistingEventDispatcher(ContainerInterface $container): ContainerInterface
62 62
     {
63
-        $container->extend(static::SERVICE_DISPATCHER, function (SymfonyEventDispatcherInterface $existingEventDispatcher, ContainerInterface $container) {
63
+        $container->extend(static::SERVICE_DISPATCHER, function(SymfonyEventDispatcherInterface $existingEventDispatcher, ContainerInterface $container) {
64 64
             $eventDispatcher = $this->getFactory()->createEventDispatcher();
65 65
 
66 66
             if ($existingEventDispatcher instanceof SymfonyTraceableEventDispatcher && $container->has(static::SERVICE_STOPWATCH)) {
Please login to merge, or discard this patch.
Glue/Kernel/Plugin/EventDispatcher/AutoloaderCacheEventDispatcherPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function extend(EventDispatcherInterface $eventDispatcher, ContainerInterface $container): EventDispatcherInterface
31 31
     {
32
-        $eventDispatcher->addListener(KernelEvents::TERMINATE, function () {
32
+        $eventDispatcher->addListener(KernelEvents::TERMINATE, function() {
33 33
             $this->persistClassResolverCache();
34 34
         });
35 35
 
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/ModalTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     protected function getZedModalFunction(Environment $twig): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::FUNCTION_NAME_MODAL, function (string $title, string $content, ?string $footer = null, ?array $extraData = null) use ($twig) {
49
+        return new TwigFunction(static::FUNCTION_NAME_MODAL, function(string $title, string $content, ?string $footer = null, ?array $extraData = null) use ($twig) {
50 50
             return $twig->render(
51 51
                 $this->getConfig()->getDefaultModalTemplatePath(),
52 52
                 [
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/ListGroupTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     protected function getZedListGroupFunction(Environment $twig): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::FUNCTION_NAME_LIST_GROUP, function (array $items) use ($twig) {
49
+        return new TwigFunction(static::FUNCTION_NAME_LIST_GROUP, function(array $items) use ($twig) {
50 50
             if (is_array(array_values($items)[0])) {
51 51
                 return $twig->render(
52 52
                     $this->getConfig()->getDefaultMultiListGroupTemplatePath(),
Please login to merge, or discard this patch.