Failed Conditions
Branch master (6be865)
by Anton
53:12
created
SprykerTest/Zed/ProductBarcode/_support/Helper/ProductBarcodeMockHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function getBarcodePluginMock(): BarcodeGeneratorPluginInterface
18 18
     {
19 19
         return Stub::makeEmpty(BarcodeGeneratorPluginInterface::class, [
20
-            'generate' => function (string $text): BarcodeResponseTransfer {
20
+            'generate' => function(string $text): BarcodeResponseTransfer {
21 21
                 return (new BarcodeResponseTransfer())
22 22
                     ->setCode($text)
23 23
                     ->setEncoding(static::GENERATED_ENCODING);
Please login to merge, or discard this patch.
Bundles/Quote/src/Spryker/Zed/Quote/Business/Model/QuoteDeleter.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
         $quoteResponseTransfer = new QuoteResponseTransfer();
61 61
         $quoteResponseTransfer->setIsSuccessful(false);
62 62
         if ($this->validateQuote($quoteTransfer)) {
63
-            return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) {
63
+            return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) {
64 64
                 return $this->executeDeleteTransaction($quoteTransfer);
65 65
             });
66 66
         }
Please login to merge, or discard this patch.
src/Spryker/Zed/SharedCart/Business/Model/QuoteCompanyUserWriter.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 updateQuoteCompanyUsers(QuoteTransfer $quoteTransfer): QuoteTransfer
51 51
     {
52
-        return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) {
52
+        return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) {
53 53
             return $this->executeUpdateQuoteCompanyUsersTransaction($quoteTransfer);
54 54
         });
55 55
     }
Please login to merge, or discard this patch.
PriceProductStorage/Business/Storage/PriceProductConcreteStorageWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
             }
122 122
         }
123 123
 
124
-        array_walk_recursive($priceProductConcreteStorageMap, function (SpyPriceProductConcreteStorage $priceProductConcreteStorageEntity) {
124
+        array_walk_recursive($priceProductConcreteStorageMap, function(SpyPriceProductConcreteStorage $priceProductConcreteStorageEntity) {
125 125
             $priceProductConcreteStorageEntity->delete();
126 126
         });
127 127
     }
Please login to merge, or discard this patch.
PriceProductStorage/Business/Storage/PriceProductAbstractStorageWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
             }
120 120
         }
121 121
 
122
-        array_walk_recursive($priceProductAbstractStorageMap, function (SpyPriceProductAbstractStorage $priceProductAbstractStorageEntity) {
122
+        array_walk_recursive($priceProductAbstractStorageMap, function(SpyPriceProductAbstractStorage $priceProductAbstractStorageEntity) {
123 123
             $priceProductAbstractStorageEntity->delete();
124 124
         });
125 125
     }
Please login to merge, or discard this patch.
Business/Model/Installer/ProductPackagingUnitTypeInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function install(): void
44 44
     {
45
-        $this->getTransactionHandler()->handleTransaction(function () {
45
+        $this->getTransactionHandler()->handleTransaction(function() {
46 46
             $this->executeInstallTransaction();
47 47
         });
48 48
     }
Please login to merge, or discard this patch.
Zed/ProductQuantityStorage/Business/ProductQuantityStorageFacadeTest.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.
Business/Installer/ProductMeasurementUnitInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function install(): void
44 44
     {
45
-        $this->getTransactionHandler()->handleTransaction(function () {
45
+        $this->getTransactionHandler()->handleTransaction(function() {
46 46
             $this->executeInstallTransaction();
47 47
         });
48 48
     }
Please login to merge, or discard this patch.
Communication/Form/MerchantRelationshipCreateForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      */
194 194
     protected function getAssignedBusinessUnitTransformer(): callable
195 195
     {
196
-        return function ($businessUnitCollection): array {
196
+        return function($businessUnitCollection): array {
197 197
             if (!$businessUnitCollection) {
198 198
                 return [];
199 199
             }
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      */
216 216
     private function getAssignedBusinessUnitReverseTransformer(): callable
217 217
     {
218
-        return function ($data): CompanyBusinessUnitCollectionTransfer {
218
+        return function($data): CompanyBusinessUnitCollectionTransfer {
219 219
             $companyBusinessUnitCollectionTransfer = new CompanyBusinessUnitCollectionTransfer();
220 220
             foreach ($data as $id) {
221 221
                 $companyBusinessUnitCollectionTransfer->addCompanyBusinessUnit(
Please login to merge, or discard this patch.