Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
Discount/src/Spryker/Zed/Discount/Business/Persistence/DiscountPersist.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $discountEntity = $this->createDiscountEntity();
65 65
         $this->hydrateDiscountEntity($discountConfiguratorTransfer, $discountEntity);
66 66
 
67
-        $this->handleDatabaseTransaction(function () use ($discountEntity, $discountConfiguratorTransfer) {
67
+        $this->handleDatabaseTransaction(function() use ($discountEntity, $discountConfiguratorTransfer) {
68 68
             $this->executeSaveDiscountTransaction($discountEntity, $discountConfiguratorTransfer);
69 69
         });
70 70
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
             );
123 123
         }
124 124
 
125
-        $affectedRows = $this->handleDatabaseTransaction(function () use ($discountEntity, $discountConfiguratorTransfer) {
125
+        $affectedRows = $this->handleDatabaseTransaction(function() use ($discountEntity, $discountConfiguratorTransfer) {
126 126
             return $this->executeUpdateDiscountTransaction($discountEntity, $discountConfiguratorTransfer);
127 127
         });
128 128
 
Please login to merge, or discard this patch.
src/Spryker/Zed/Discount/Communication/Controller/VoucherController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 
108 108
         $streamedResponse = new StreamedResponse();
109 109
 
110
-        $streamedResponse->setCallback(function () use ($generatedVouchers) {
110
+        $streamedResponse->setCallback(function() use ($generatedVouchers) {
111 111
             $csvHandle = fopen('php://output', 'w+');
112 112
             fputcsv($csvHandle, ['Voucher Code']);
113 113
 
Please login to merge, or discard this patch.
Bundles/Discount/src/Spryker/Zed/Discount/DiscountConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      */
50 50
     public function getAllowedCodeCharactersLength()
51 51
     {
52
-        $charactersLength = array_reduce($this->getVoucherCodeCharacters(), function ($length, $items) {
52
+        $charactersLength = array_reduce($this->getVoucherCodeCharacters(), function($length, $items) {
53 53
             $length += count($items);
54 54
 
55 55
             return $length;
Please login to merge, or discard this patch.
src/Spryker/Zed/Api/Communication/Plugin/ApiControllerListenerPlugin.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
         $request = $event->getRequest();
47 47
 
48
-        $apiController = function () use ($controller, $action, $request) {
48
+        $apiController = function() use ($controller, $action, $request) {
49 49
             $requestTransfer = $this->getRequestTransfer($request);
50 50
             $this->logRequest($requestTransfer);
51 51
 
Please login to merge, or discard this patch.
src/Spryker/Client/ProductLabel/Storage/LabelDictionaryReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
             return $productLabelCollection;
137 137
         }
138 138
 
139
-        usort($productLabelCollection, function (
139
+        usort($productLabelCollection, function(
140 140
             StorageProductLabelTransfer $productLabelTransferA,
141 141
             StorageProductLabelTransfer $productLabelTransferB
142 142
         ) {
Please login to merge, or discard this patch.
Label/LocalizedAttributesCollection/LocalizedAttributesCollectionWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function save(ArrayObject $localizedAttributesTransferCollection)
50 50
     {
51
-        $this->handleDatabaseTransaction(function () use ($localizedAttributesTransferCollection) {
51
+        $this->handleDatabaseTransaction(function() use ($localizedAttributesTransferCollection) {
52 52
             $this->executeSetTransaction($localizedAttributesTransferCollection);
53 53
         });
54 54
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductLabel/Business/Label/ValidityUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             return;
52 52
         }
53 53
 
54
-        $this->handleDatabaseTransaction(function () use ($productLabelsBecomingActive, $productLabelsBecomingInactive) {
54
+        $this->handleDatabaseTransaction(function() use ($productLabelsBecomingActive, $productLabelsBecomingInactive) {
55 55
             $this->executeTransaction($productLabelsBecomingActive, $productLabelsBecomingInactive);
56 56
         });
57 57
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ZedNavigation/Business/Model/Extractor/PathExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function extractPathFromMenu(array $menu)
25 25
     {
26
-        $filteredMenu = array_filter($menu, function ($branch) {
26
+        $filteredMenu = array_filter($menu, function($branch) {
27 27
             return isset($branch[MenuFormatter::IS_ACTIVE]);
28 28
         });
29 29
         $path = [];
Please login to merge, or discard this patch.
src/Spryker/Zed/Navigation/Business/Url/NavigationNodeUrlCleaner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     {
50 50
         $this->assertUrlForDetach($urlTransfer);
51 51
 
52
-        $this->handleDatabaseTransaction(function () use ($urlTransfer) {
52
+        $this->handleDatabaseTransaction(function() use ($urlTransfer) {
53 53
             $this->executeDetachUrlFromNavigationNodesTransaction($urlTransfer);
54 54
         });
55 55
     }
Please login to merge, or discard this patch.