Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
Business/ProductPackagingUnitStorageFacadeTest.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.
ProductAlternative/Business/ProductAlternative/ProductAlternativeWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     {
68 68
         $productConcreteTransfer->requireProductAlternativeCreateRequests();
69 69
         foreach ($productConcreteTransfer->getProductAlternativeCreateRequests() as $productAlternativeCreateRequestTransfer) {
70
-            $this->getTransactionHandler()->handleTransaction(function () use ($productAlternativeCreateRequestTransfer) {
70
+            $this->getTransactionHandler()->handleTransaction(function() use ($productAlternativeCreateRequestTransfer) {
71 71
                 $this->executeCreateTransaction($productAlternativeCreateRequestTransfer);
72 72
             });
73 73
         }
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                 ->setIsSuccessful(false);
92 92
         }
93 93
 
94
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productAlternativeTransfer) {
94
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productAlternativeTransfer) {
95 95
             return $this->executeDeleteTransaction($productAlternativeTransfer);
96 96
         });
97 97
     }
Please login to merge, or discard this patch.
Spryker/Zed/ProductAlternative/Persistence/ProductAlternativeRepository.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -105,10 +105,10 @@
 block discarded – undo
105 105
             ->withColumn(SpyProductAbstractLocalizedAttributesTableMap::COL_NAME, ProductAlternativeListItemTransfer::NAME)
106 106
             ->withColumn('GROUP_CONCAT(' . SpyCategoryAttributeTableMap::COL_NAME . ')', ProductAlternativeListItemTransfer::CATEGORIES)
107 107
             ->select([
108
-                 ProductAlternativeListItemTransfer::ID_PRODUCT,
109
-                 ProductAlternativeListItemTransfer::SKU,
110
-                 ProductAlternativeListItemTransfer::NAME,
111
-                 ProductAlternativeListItemTransfer::CATEGORIES,
108
+                    ProductAlternativeListItemTransfer::ID_PRODUCT,
109
+                    ProductAlternativeListItemTransfer::SKU,
110
+                    ProductAlternativeListItemTransfer::NAME,
111
+                    ProductAlternativeListItemTransfer::CATEGORIES,
112 112
             ])
113 113
             ->findOne();
114 114
 
Please login to merge, or discard this patch.
src/Spryker/Zed/Search/Business/Model/Elasticsearch/IndexInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
      */
223 223
     protected function isSettingsForUpdateExists(array $settings): bool
224 224
     {
225
-        $settings = array_filter($settings, function ($setting) {
225
+        $settings = array_filter($settings, function($setting) {
226 226
             return !empty($setting);
227 227
         });
228 228
 
Please login to merge, or discard this patch.
Development/Business/Dependency/DependencyContainer/DependencyContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      */
92 92
     protected function sortDependencies(DependencyCollectionTransfer $dependencyCollectionTransfer): DependencyCollectionTransfer
93 93
     {
94
-        $callback = function (DependencyModuleTransfer $dependencyBundleTransferA, DependencyModuleTransfer $dependencyBundleTransferB) {
94
+        $callback = function(DependencyModuleTransfer $dependencyBundleTransferA, DependencyModuleTransfer $dependencyBundleTransferB) {
95 95
             return strcmp($dependencyBundleTransferA->getModule(), $dependencyBundleTransferB->getModule());
96 96
         };
97 97
 
Please login to merge, or discard this patch.
Zed/FileManagerStorage/Business/Storage/FileManagerStorageWriter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $fileTransfers = $this->repository->findFilesByIds($fileIds);
65 65
         $fileStorageTransfers = $this->repository->findFileStoragesByIds($fileIds);
66 66
 
67
-        return $this->getTransactionHandler()->handleTransaction(function () use ($fileTransfers, $fileStorageTransfers) {
67
+        return $this->getTransactionHandler()->handleTransaction(function() use ($fileTransfers, $fileStorageTransfers) {
68 68
             return $this->executePublishTransaction($fileTransfers, $fileStorageTransfers);
69 69
         });
70 70
     }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     {
79 79
         $fileStorageTransfers = $this->repository->findFileStoragesByIds($fileIds);
80 80
 
81
-        return $this->getTransactionHandler()->handleTransaction(function () use ($fileStorageTransfers) {
81
+        return $this->getTransactionHandler()->handleTransaction(function() use ($fileStorageTransfers) {
82 82
             return $this->executeUnpublishTransaction($fileStorageTransfers);
83 83
         });
84 84
     }
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      */
237 237
     protected function getLatestFileInfo(ArrayObject $fileInfoTransfers)
238 238
     {
239
-        return array_reduce($fileInfoTransfers->getArrayCopy(), function ($a, $b) {
239
+        return array_reduce($fileInfoTransfers->getArrayCopy(), function($a, $b) {
240 240
             return $a ? ($a->getVersion() > $b->getVersion() ? $a : $b) : $b;
241 241
         });
242 242
     }
Please login to merge, or discard this patch.
Bundles/FileManager/src/Spryker/Zed/FileManager/Business/File/FileSaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      */
82 82
     public function save(FileManagerDataTransfer $fileManagerDataTransfer)
83 83
     {
84
-        return $this->getTransactionHandler()->handleTransaction(function () use ($fileManagerDataTransfer) {
84
+        return $this->getTransactionHandler()->handleTransaction(function() use ($fileManagerDataTransfer) {
85 85
             return $this->executeSaveTransaction($fileManagerDataTransfer);
86 86
         });
87 87
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/FileManager/Business/FileDirectory/FileDirectorySaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function save(FileDirectoryTransfer $fileDirectoryTransfer)
56 56
     {
57
-        return $this->getTransactionHandler()->handleTransaction(function () use ($fileDirectoryTransfer) {
57
+        return $this->getTransactionHandler()->handleTransaction(function() use ($fileDirectoryTransfer) {
58 58
             return $this->executeSaveTransaction($fileDirectoryTransfer);
59 59
         });
60 60
     }
Please login to merge, or discard this patch.
Bundles/UtilCsv/src/Spryker/Service/UtilCsv/Exporter/FileExporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $csvFileTransfer->requireData();
25 25
 
26 26
         $streamedResponse = new StreamedResponse();
27
-        $streamedResponse->setCallback(function () use ($csvFileTransfer) {
27
+        $streamedResponse->setCallback(function() use ($csvFileTransfer) {
28 28
             $csvHandle = fopen('php://output', 'w+');
29 29
             if ($csvFileTransfer->getHeader() && is_array($csvFileTransfer->getHeader())) {
30 30
                 fputcsv($csvHandle, $csvFileTransfer->getHeader());
Please login to merge, or discard this patch.