Passed
Push — master ( 093472...d84877 )
by
unknown
26:06
created
tests/SprykerTest/Zed/Navigation/_support/Helper/NavigationDataHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
         $this->getNavigationFacade()->createNavigation($navigationTransfer);
35 35
 
36
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($navigationTransfer): void {
36
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($navigationTransfer): void {
37 37
             $this->cleanupNavigation($navigationTransfer);
38 38
         });
39 39
 
Please login to merge, or discard this patch.
_support/Helper/BusinessOnBehalfDataImportHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
         $customerEntity->save();
126 126
         $customerTransfer->fromArray($customerEntity->toArray(), true);
127 127
 
128
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($customerTransfer): void {
128
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($customerTransfer): void {
129 129
             $this->cleanupCustomer($customerTransfer);
130 130
         });
131 131
 
Please login to merge, or discard this patch.
Console/tests/SprykerTest/Zed/Console/Business/Model/ConsoleTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,13 +53,13 @@  discard block
 block discarded – undo
53 53
     public function testPreRunPluginsWillExecutesBeforeConsoleCommands(): void
54 54
     {
55 55
         $container = new Container();
56
-        $container[ConsoleDependencyProvider::PLUGINS_CONSOLE_PRE_RUN_HOOK] = function (Container $container) {
56
+        $container[ConsoleDependencyProvider::PLUGINS_CONSOLE_PRE_RUN_HOOK] = function(Container $container) {
57 57
             $preRunPluginMock = $this->getPreRunPluginMock();
58 58
 
59 59
             return [$preRunPluginMock];
60 60
         };
61 61
 
62
-        $container[ConsoleDependencyProvider::PLUGINS_CONSOLE_POST_RUN_HOOK] = function (Container $container) {
62
+        $container[ConsoleDependencyProvider::PLUGINS_CONSOLE_POST_RUN_HOOK] = function(Container $container) {
63 63
             return [];
64 64
         };
65 65
 
@@ -75,11 +75,11 @@  discard block
 block discarded – undo
75 75
     public function testPostRunPluginsWillExecutesBeforeConsoleCommands(): void
76 76
     {
77 77
         $container = new Container();
78
-        $container[ConsoleDependencyProvider::PLUGINS_CONSOLE_PRE_RUN_HOOK] = function (Container $container) {
78
+        $container[ConsoleDependencyProvider::PLUGINS_CONSOLE_PRE_RUN_HOOK] = function(Container $container) {
79 79
             return [];
80 80
         };
81 81
 
82
-        $container[ConsoleDependencyProvider::PLUGINS_CONSOLE_POST_RUN_HOOK] = function (Container $container) {
82
+        $container[ConsoleDependencyProvider::PLUGINS_CONSOLE_POST_RUN_HOOK] = function(Container $container) {
83 83
             $postRunPluginMock = $this->getPostRunPluginMock();
84 84
 
85 85
             return [$postRunPluginMock];
Please login to merge, or discard this patch.
Zed/CompanyUserInvitation/_support/Helper/CompanyUserInvitationHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             ->createCompanyUserInvitation($companyUserInvitationCreateRequestTransfer)
49 49
             ->getCompanyUserInvitation();
50 50
 
51
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($companyUserInvitationTransfer): void {
51
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($companyUserInvitationTransfer): void {
52 52
             $this->setDependencies();
53 53
 
54 54
             $companyUserInvitationDeleteRequestTransfer = (new CompanyUserInvitationDeleteRequestTransfer())
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         $companyUserInvitationTransfer = (new CompanyUserInvitationBuilder($seedData))->build();
72 72
         $companyUserInvitationTransfer->requireFkCompanyUser();
73 73
 
74
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($companyUserInvitationTransfer): void {
74
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($companyUserInvitationTransfer): void {
75 75
             $this->setDependencies();
76 76
 
77 77
             $criteriaFilter = (new CompanyUserInvitationCriteriaFilterTransfer())
Please login to merge, or discard this patch.
Zed/PropelOrm/Business/Transaction/DatabaseTransactionHandlerTraitTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     public function testShouldCommitWhenNoErrors(): void
45 45
     {
46
-        $callback = function (): void {
46
+        $callback = function(): void {
47 47
         };
48 48
 
49 49
         $this->connection
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function testShouldCatchExceptionAndRollback(): void
68 68
     {
69
-        $callback = function (): void {
69
+        $callback = function(): void {
70 70
             throw new Exception('Error when saving');
71 71
         };
72 72
 
Please login to merge, or discard this patch.
Spryker/Zed/Http/Communication/Plugin/Application/HttpApplicationPlugin.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     protected function addKernelService(ContainerInterface $container): ContainerInterface
80 80
     {
81
-        $container->set(static::SERVICE_KERNEL, function (ContainerInterface $container) {
81
+        $container->set(static::SERVICE_KERNEL, function(ContainerInterface $container) {
82 82
             return new HttpKernel(
83 83
                 $this->getEventDispatcher($container),
84 84
                 $this->getResolver($container),
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     protected function addRequestStackService(ContainerInterface $container): ContainerInterface
98 98
     {
99
-        $container->set(static::SERVICE_REQUEST_STACK, function () {
99
+        $container->set(static::SERVICE_REQUEST_STACK, function() {
100 100
             return new RequestStack();
101 101
         });
102 102
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     protected function addRequestContextService(ContainerInterface $container): ContainerInterface
112 112
     {
113
-        $container->set(static::SERVICE_REQUEST_CONTEXT, function () {
113
+        $container->set(static::SERVICE_REQUEST_CONTEXT, function() {
114 114
             $context = new RequestContext();
115 115
 
116 116
             $context->setHttpPort($this->getConfig()->getHttpPort());
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     protected function addSubRequestHandlerService(ContainerInterface $container): ContainerInterface
131 131
     {
132
-        $container->set(static::SERVICE_SUB_REQUEST, function (ContainerInterface $container): SubRequestHandlerInterface {
132
+        $container->set(static::SERVICE_SUB_REQUEST, function(ContainerInterface $container): SubRequestHandlerInterface {
133 133
             return new SubRequestHandler($container->get(static::SERVICE_KERNEL));
134 134
         });
135 135
 
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      */
160 160
     protected function addCookie(ContainerInterface $container): ContainerInterface
161 161
     {
162
-        $container->set(static::SERVICE_COOKIES, function () {
162
+        $container->set(static::SERVICE_COOKIES, function() {
163 163
             return new ArrayObject();
164 164
         });
165 165
 
Please login to merge, or discard this patch.
Yves/Messenger/Plugin/Application/FlashMessengerApplicationPlugin.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 provide(ContainerInterface $container): ContainerInterface
31 31
     {
32
-        $container->set(static::SERVICE_FLASH_MESSENGER, function (ContainerInterface $container) {
32
+        $container->set(static::SERVICE_FLASH_MESSENGER, function(ContainerInterface $container) {
33 33
             return new FlashMessenger($this->getSession($container)->getFlashBag());
34 34
         });
35 35
 
Please login to merge, or discard this patch.
src/Spryker/Zed/AvailabilityGui/Communication/Helper/AvailabilityHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
     {
215 215
         $stockTransfers = $this->stockFacade->getAvailableWarehousesForStore($storeTransfer);
216 216
 
217
-        return array_map(function (StockTransfer $stockTransfer): string {
217
+        return array_map(function(StockTransfer $stockTransfer): string {
218 218
             return $stockTransfer->getName();
219 219
         }, $stockTransfers);
220 220
     }
Please login to merge, or discard this patch.
Zed/ProductPackagingUnit/_support/Helper/ProductPackagingUnitHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
         $productPackagingUnitEntity = $this->storeProductPackagingUnit($productPackagingUnitTransfer, $productPackagingUnitAmountTransfer);
37 37
 
38
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($productPackagingUnitEntity): void {
38
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($productPackagingUnitEntity): void {
39 39
             $this->cleanupProductPackagingUnit($productPackagingUnitEntity);
40 40
         });
41 41
 
Please login to merge, or discard this patch.