Passed
Push — master ( e0cd82...d9403f )
by
unknown
30:43
created
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.
src/Spryker/Zed/Shipment/Business/ShipmentMethod/ShipmentMethodCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     public function createShipmentMethod(ShipmentMethodTransfer $shipmentMethodTransfer): ?int
58 58
     {
59
-        return $this->getTransactionHandler()->handleTransaction(function () use ($shipmentMethodTransfer): ?int {
59
+        return $this->getTransactionHandler()->handleTransaction(function() use ($shipmentMethodTransfer) : ?int {
60 60
             return $this->executeCreateShipmentMethodTransaction($shipmentMethodTransfer);
61 61
         });
62 62
     }
Please login to merge, or discard this patch.
Zed/Shipment/Business/ShipmentMethod/ShipmentMethodStoreRelationUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      */
46 46
     public function update(StoreRelationTransfer $storeRelationTransfer): void
47 47
     {
48
-        $this->getTransactionHandler()->handleTransaction(function () use ($storeRelationTransfer) {
48
+        $this->getTransactionHandler()->handleTransaction(function() use ($storeRelationTransfer) {
49 49
             $this->executeUpdateStoreRelationTransaction($storeRelationTransfer);
50 50
         });
51 51
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/Shipment/Business/ShipmentMethod/ShipmentMethodUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function updateShipmentMethod(ShipmentMethodTransfer $shipmentMethodTransfer): bool
67 67
     {
68
-        return $this->getTransactionHandler()->handleTransaction(function () use ($shipmentMethodTransfer): bool {
68
+        return $this->getTransactionHandler()->handleTransaction(function() use ($shipmentMethodTransfer): bool {
69 69
             return $this->executeUpdateShipmentMethodTransaction($shipmentMethodTransfer);
70 70
         });
71 71
     }
Please login to merge, or discard this patch.