Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Bundles/Merchant/src/Spryker/Zed/Merchant/MerchantDependencyProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     protected function addUtilTextService(Container $container): Container
69 69
     {
70
-        $container->set(static::SERVICE_UTIL_TEXT, function (Container $container) {
70
+        $container->set(static::SERVICE_UTIL_TEXT, function(Container $container) {
71 71
             return new MerchantToUtilTextServiceBridge($container->getLocator()->utilText()->service());
72 72
         });
73 73
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     protected function addMerchantPostCreatePlugins(Container $container): Container
83 83
     {
84
-        $container->set(static::PLUGINS_MERCHANT_POST_CREATE, function () {
84
+        $container->set(static::PLUGINS_MERCHANT_POST_CREATE, function() {
85 85
             return $this->getMerchantPostCreatePlugins();
86 86
         });
87 87
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     protected function addMerchantPostUpdatePlugins(Container $container): Container
97 97
     {
98
-        $container->set(static::PLUGINS_MERCHANT_POST_UPDATE, function () {
98
+        $container->set(static::PLUGINS_MERCHANT_POST_UPDATE, function() {
99 99
             return $this->getMerchantPostUpdatePlugins();
100 100
         });
101 101
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     protected function addMerchantExpanderPlugins(Container $container): Container
111 111
     {
112
-        $container->set(static::PLUGINS_MERCHANT_EXPANDER, function () {
112
+        $container->set(static::PLUGINS_MERCHANT_EXPANDER, function() {
113 113
             return $this->getMerchantExpanderPlugins();
114 114
         });
115 115
 
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      */
148 148
     protected function addUrlFacade(Container $container): Container
149 149
     {
150
-        $container->set(static::FACADE_URL, function (Container $container) {
150
+        $container->set(static::FACADE_URL, function(Container $container) {
151 151
             return new MerchantToUrlFacadeBridge($container->getLocator()->url()->facade());
152 152
         });
153 153
 
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      */
162 162
     protected function addEventFacade(Container $container): Container
163 163
     {
164
-        $container->set(static::FACADE_EVENT, function (Container $container) {
164
+        $container->set(static::FACADE_EVENT, function(Container $container) {
165 165
             return new MerchantToEventFacadeBridge($container->getLocator()->event()->facade());
166 166
         });
167 167
 
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      */
176 176
     protected function addUrlPropelQuery(Container $container): Container
177 177
     {
178
-        $container->set(static::PROPEL_QUERY_URL, $container->factory(function () {
178
+        $container->set(static::PROPEL_QUERY_URL, $container->factory(function() {
179 179
             return SpyUrlQuery::create();
180 180
         }));
181 181
 
Please login to merge, or discard this patch.
src/Spryker/Zed/MerchantProfile/MerchantProfileDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function addGlossaryFacade(Container $container): Container
44 44
     {
45
-        $container->set(static::FACADE_GLOSSARY, function (Container $container) {
45
+        $container->set(static::FACADE_GLOSSARY, function(Container $container) {
46 46
             return new MerchantProfileToGlossaryFacadeBridge($container->getLocator()->glossary()->facade());
47 47
         });
48 48
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function addLocaleFacade(Container $container): Container
58 58
     {
59
-        $container->set(static::FACADE_LOCALE, function (Container $container) {
59
+        $container->set(static::FACADE_LOCALE, function(Container $container) {
60 60
             return new MerchantProfileToLocaleFacadeBridge($container->getLocator()->locale()->facade());
61 61
         });
62 62
 
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.
ProductLabel/src/Spryker/Zed/ProductLabel/Business/Label/LabelUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     {
89 89
         $this->assertProductLabel($productLabelTransfer);
90 90
 
91
-        $this->getTransactionHandler()->handleTransaction(function () use ($productLabelTransfer) {
91
+        $this->getTransactionHandler()->handleTransaction(function() use ($productLabelTransfer) {
92 92
             $this->executeUpdateTransaction($productLabelTransfer);
93 93
         });
94 94
     }
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.