Failed Conditions
Push — master ( e0fde8...98a030 )
by
unknown
44:34 queued 15:21
created
Merchant/src/Spryker/Zed/Merchant/Business/Updater/MerchantUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
         }
100 100
 
101 101
         try {
102
-            $merchantTransfer = $this->getTransactionHandler()->handleTransaction(function () use ($merchantTransfer) {
102
+            $merchantTransfer = $this->getTransactionHandler()->handleTransaction(function() use ($merchantTransfer) {
103 103
                 return $this->executeUpdateTransaction($merchantTransfer);
104 104
             });
105 105
         } catch (MerchantNotSavedException $merchantNotSavedException) {
Please login to merge, or discard this patch.
Merchant/src/Spryker/Zed/Merchant/Business/Creator/MerchantCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         $merchantResponseTransfer = $this->createMerchantResponseTransfer();
70 70
 
71 71
         try {
72
-            $merchantTransfer = $this->getTransactionHandler()->handleTransaction(function () use ($merchantTransfer) {
72
+            $merchantTransfer = $this->getTransactionHandler()->handleTransaction(function() use ($merchantTransfer) {
73 73
                 return $this->executeCreateTransaction($merchantTransfer);
74 74
             });
75 75
         } catch (MerchantNotSavedException $merchantNotSavedException) {
Please login to merge, or discard this patch.
Kernel/tests/SprykerTest/Shared/Kernel/_support/Helper/CodeBucketHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
         putenv(sprintf('%s=%s', static::SPRYKER_CODE_BUCKET, $codeBucket));
29 29
 
30
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($oldEnv): void {
30
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($oldEnv): void {
31 31
             putenv(sprintf('%s=%s', static::SPRYKER_CODE_BUCKET, $oldEnv));
32 32
         });
33 33
     }
Please login to merge, or discard this patch.
Spryker/Zed/SetupFrontend/Business/Model/PackageManager/NodeInstaller.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,13 +74,13 @@  discard block
 block discarded – undo
74 74
     {
75 75
         $logger->info('Download node source');
76 76
         $process = $this->getProcess($this->getDownloadCommand());
77
-        $process->run(function ($type, $buffer) use ($logger) {
77
+        $process->run(function($type, $buffer) use ($logger) {
78 78
             $logger->info($buffer);
79 79
         });
80 80
 
81 81
         $logger->info('Install node.js');
82 82
         $process = $this->getProcess('sudo -i apt-get install -y nodejs');
83
-        $process->run(function ($type, $buffer) use ($logger) {
83
+        $process->run(function($type, $buffer) use ($logger) {
84 84
             $logger->info($buffer);
85 85
         });
86 86
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $logger->info('Installing Yarn');
106 106
 
107 107
         $process = $this->getProcess($this->getYarnInstallCommand());
108
-        $process->run(function ($type, $buffer) use ($logger) {
108
+        $process->run(function($type, $buffer) use ($logger) {
109 109
             $logger->info($buffer);
110 110
         });
111 111
 
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/DataImport/_support/Helper/DataImporterHelper.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@  discard block
 block discarded – undo
45 45
 
46 46
         /** @var \Spryker\Zed\DataImport\Business\Model\DataImporterInterface $dataImporterStub */
47 47
         $dataImporterStub = Stub::makeEmpty(DataImporterInterface::class, [
48
-            'import' => Expected::exactly(($isCalled ? 1 : 0), function () use ($dataImporterReportTransfer) {
48
+            'import' => Expected::exactly(($isCalled ? 1 : 0), function() use ($dataImporterReportTransfer) {
49 49
                 return $dataImporterReportTransfer;
50 50
             }),
51
-            'getImportType' => function () use ($importType) {
51
+            'getImportType' => function() use ($importType) {
52 52
                 return $importType;
53 53
             },
54 54
         ]);
@@ -78,13 +78,13 @@  discard block
 block discarded – undo
78 78
 
79 79
         /** @var \Spryker\Zed\DataImport\Business\Model\DataImporterInterface $dataImporterStub */
80 80
         $dataImporterStub = Stub::makeEmpty(DataImporter::class, [
81
-            'import' => Expected::exactly(($isCalled ? 1 : 0), function () use ($dataImporterReportTransfer) {
81
+            'import' => Expected::exactly(($isCalled ? 1 : 0), function() use ($dataImporterReportTransfer) {
82 82
                 return $dataImporterReportTransfer;
83 83
             }),
84
-            'getImportType' => function () use ($importType) {
84
+            'getImportType' => function() use ($importType) {
85 85
                 return $importType;
86 86
             },
87
-            'getImportGroup' => function () use ($importGroup) {
87
+            'getImportGroup' => function() use ($importGroup) {
88 88
                 return $importGroup;
89 89
             },
90 90
         ]);
@@ -112,10 +112,10 @@  discard block
 block discarded – undo
112 112
 
113 113
         /** @var \Spryker\Zed\DataImport\Dependency\Plugin\DataImportPluginInterface $dataImporterPluginStub */
114 114
         $dataImporterPluginStub = Stub::makeEmpty(DataImportPluginInterface::class, [
115
-            'import' => Expected::exactly(($isCalled ? 1 : 0), function () use ($dataImporterReportTransfer) {
115
+            'import' => Expected::exactly(($isCalled ? 1 : 0), function() use ($dataImporterReportTransfer) {
116 116
                 return $dataImporterReportTransfer;
117 117
             }),
118
-            'getImportType' => function () use ($importType) {
118
+            'getImportType' => function() use ($importType) {
119 119
                 return $importType;
120 120
             },
121 121
         ]);
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function getFailingDataImportStepMock(): DataImportStepInterface
143 143
     {
144
-        $executeCallback = function (): void {
144
+        $executeCallback = function(): void {
145 145
             throw new DataImportException('ExceptionMessage');
146 146
         };
147 147
         /** @var \Spryker\Zed\DataImport\Business\Model\DataImportStep\DataImportStepInterface $dataSetStub */
Please login to merge, or discard this patch.
Label/ProductLabelStoreRelation/ProductLabelStoreRelationUpdater.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->executeUpdateTransaction($storeRelationTransfer);
50 50
         });
51 51
     }
Please login to merge, or discard this patch.
ProductLabel/src/Spryker/Zed/ProductLabel/Business/Label/LabelCreator.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
         $this->assertProductLabel($productLabelTransfer);
67 67
 
68
-        $this->getTransactionHandler()->handleTransaction(function () use ($productLabelTransfer) {
68
+        $this->getTransactionHandler()->handleTransaction(function() use ($productLabelTransfer) {
69 69
             $this->executeCreateTransaction($productLabelTransfer);
70 70
         });
71 71
     }
Please login to merge, or discard this patch.
Zed/ProductLabelStorage/_support/Helper/ProductLabelStorageHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $productAbstractLabelTransfer = (new ProductAbstractLabelStorageBuilder($seedData))->build();
44 44
         $this->persistProductAbstractLabelStorage($productAbstractLabelTransfer);
45 45
 
46
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($productAbstractLabelTransfer): void {
46
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($productAbstractLabelTransfer): void {
47 47
             $this->cleanupProductAbstractLabelStorage($productAbstractLabelTransfer);
48 48
         });
49 49
 
Please login to merge, or discard this patch.
Zed/ProductLabelStorage/Business/ProductLabelStorageFacadeTest.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.