Passed
Push — master ( 093472...d84877 )
by
unknown
26:06
created
Bundles/CmsBlock/src/Spryker/Zed/CmsBlock/Business/Model/CmsBlockWriter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function activateById(int $idCmsBlock): void
99 99
     {
100
-        $this->handleDatabaseTransaction(function () use ($idCmsBlock) {
100
+        $this->handleDatabaseTransaction(function() use ($idCmsBlock) {
101 101
             $this->updateIsActiveByIdTransaction($idCmsBlock, true);
102 102
             $this->touchFacade->touchActive(CmsBlockConfig::RESOURCE_TYPE_CMS_BLOCK, $idCmsBlock);
103 103
         });
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function deactivateById(int $idCmsBlock): void
112 112
     {
113
-        $this->handleDatabaseTransaction(function () use ($idCmsBlock) {
113
+        $this->handleDatabaseTransaction(function() use ($idCmsBlock) {
114 114
             $this->updateIsActiveByIdTransaction($idCmsBlock, false);
115 115
             $this->touchFacade->touchDeleted(CmsBlockConfig::RESOURCE_TYPE_CMS_BLOCK, $idCmsBlock);
116 116
         });
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             );
138 138
         }
139 139
 
140
-        $this->handleDatabaseTransaction(function () use ($cmsBlockTransfer, $spyCmsBlock) {
140
+        $this->handleDatabaseTransaction(function() use ($cmsBlockTransfer, $spyCmsBlock) {
141 141
             $this->updateCmsBlockTransaction($cmsBlockTransfer, $spyCmsBlock);
142 142
             $this->updateCmsBlockPluginsTransaction($cmsBlockTransfer);
143 143
         });
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
             $cmsBlockTransfer->setKey($this->cmsBlockKeyProvider->generateKey());
159 159
         }
160 160
 
161
-        $this->handleDatabaseTransaction(function () use ($cmsBlockTransfer) {
161
+        $this->handleDatabaseTransaction(function() use ($cmsBlockTransfer) {
162 162
             $this->createCmsBlockTransaction($cmsBlockTransfer);
163 163
             $this->updateCmsBlockPluginsTransaction($cmsBlockTransfer);
164 164
         });
Please login to merge, or discard this patch.
src/Spryker/Zed/CmsBlock/Business/Model/CmsBlockStoreRelationMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      */
61 61
     protected function selectIdStores(ArrayObject $storeTransferCollection): array
62 62
     {
63
-        return array_map(function (StoreTransfer $storeTransfer) {
63
+        return array_map(function(StoreTransfer $storeTransfer) {
64 64
             return $storeTransfer->getIdStore();
65 65
         }, $storeTransferCollection->getArrayCopy());
66 66
     }
Please login to merge, or discard this patch.
CmsBlock/src/Spryker/Zed/CmsBlock/Business/Model/CmsBlockGlossaryWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             return;
104 104
         }
105 105
 
106
-        $this->handleDatabaseTransaction(function () use ($glossaryKeys) {
106
+        $this->handleDatabaseTransaction(function() use ($glossaryKeys) {
107 107
             $this->deleteGlossaryKeysTransaction($glossaryKeys);
108 108
         });
109 109
     }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     public function saveGlossary(CmsBlockGlossaryTransfer $cmsBlockGlossaryTransfer): CmsBlockGlossaryTransfer
117 117
     {
118
-        $this->handleDatabaseTransaction(function () use ($cmsBlockGlossaryTransfer) {
118
+        $this->handleDatabaseTransaction(function() use ($cmsBlockGlossaryTransfer) {
119 119
             $this->saveCmsGlossaryTransaction($cmsBlockGlossaryTransfer);
120 120
         });
121 121
 
Please login to merge, or discard this patch.
src/Spryker/Client/CmsBlockStorage/Storage/CmsBlockStorage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         $results = $this->storageClient->getMulti($storageKeys) ?: [];
129 129
         $results = array_values(array_filter($results));
130 130
 
131
-        $blocks = array_map(function ($result) {
131
+        $blocks = array_map(function($result) {
132 132
             return $this->utilEncodingService->decodeJson($result, true);
133 133
         }, $results);
134 134
 
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
         $results = $this->storageClient->getMulti($blockNameStorageKeys);
159 159
         $results = array_values(array_filter($results));
160 160
 
161
-        $blockKeys = array_map(function ($result) {
161
+        $blockKeys = array_map(function($result) {
162 162
             $mappingData = $this->utilEncodingService->decodeJson($result, true);
163 163
 
164 164
             return $mappingData['id'] ?? null;
Please login to merge, or discard this patch.
Communication/Plugin/Event/Listener/CmsSlotStoragePublishListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         parent::setUp();
42 42
 
43
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
43
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
44 44
             return [
45 45
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
46 46
             ];
Please login to merge, or discard this patch.
Communication/Plugin/Application/ErrorHandlerApplicationPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $userPath = $this->getConfig()->getUserBasePath();
61 61
         $handler = new PrettyPageHandler();
62 62
         if ($userPath) {
63
-            $handler->setEditor(function ($file, $line) use ($userPath) {
63
+            $handler->setEditor(function($file, $line) use ($userPath) {
64 64
                 $serverPath = $this->getConfig()->getServerBasePath();
65 65
                 $file = str_replace($serverPath, $userPath, $file);
66 66
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     protected function getErrorLoggerCallbackHandler(): HandlerInterface
88 88
     {
89
-        return new CallbackHandler(function ($exception) {
89
+        return new CallbackHandler(function($exception) {
90 90
             ErrorLogger::getInstance()->log($exception);
91 91
         });
92 92
     }
Please login to merge, or discard this patch.
Yves/ErrorHandler/Plugin/Application/ErrorHandlerApplicationPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $userPath = $this->getConfig()->getUserBasePath();
61 61
         $handler = new PrettyPageHandler();
62 62
         if ($userPath) {
63
-            $handler->setEditor(function ($file, $line) use ($userPath) {
63
+            $handler->setEditor(function($file, $line) use ($userPath) {
64 64
                 $serverPath = $this->getConfig()->getServerBasePath();
65 65
                 $file = str_replace($serverPath, $userPath, $file);
66 66
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     protected function getErrorLoggerCallbackHandler(): HandlerInterface
88 88
     {
89
-        return new CallbackHandler(function ($exception) {
89
+        return new CallbackHandler(function($exception) {
90 90
             ErrorLogger::getInstance()->log($exception);
91 91
         });
92 92
     }
Please login to merge, or discard this patch.
ShipmentGui/Communication/Form/ShipmentCarrier/ShipmentCarrierFormType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
             'constraints' => [
79 79
                 new NotBlank(),
80 80
                 new Callback([
81
-                    'callback' => function (string $carrierName, ExecutionContextInterface $context): void {
81
+                    'callback' => function(string $carrierName, ExecutionContextInterface $context): void {
82 82
                         $shipmentCarrierRequestTransfer = $this->createShipmentCarrierRequestTransfer($carrierName, $context);
83 83
 
84 84
                         if ($this->getFactory()->getShipmentFacade()->findShipmentCarrier($shipmentCarrierRequestTransfer)) {
Please login to merge, or discard this patch.
src/Spryker/Zed/Shipment/Business/ShipmentMethod/ShipmentMethodDeleter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
             return false;
54 54
         }
55 55
 
56
-        $this->getTransactionHandler()->handleTransaction(function () use ($idShipmentMethod): void {
56
+        $this->getTransactionHandler()->handleTransaction(function() use ($idShipmentMethod): void {
57 57
             $this->executeDeleteShipmentMethodTransaction($idShipmentMethod);
58 58
         });
59 59
 
Please login to merge, or discard this patch.