Passed
Pull Request — master (#5)
by Dominique
38:29
created
Spryker/Zed/ProductLabelGui/Communication/Form/RelatedProductFormType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,14 +131,14 @@
 block discarded – undo
131 131
         $builder
132 132
             ->get($fieldName)
133 133
             ->addModelTransformer(new CallbackTransformer(
134
-                function (array $idsProductAbstractAsArray) {
134
+                function(array $idsProductAbstractAsArray) {
135 135
                     if (!count($idsProductAbstractAsArray)) {
136 136
                         return [];
137 137
                     }
138 138
 
139 139
                     return implode(',', $idsProductAbstractAsArray);
140 140
                 },
141
-                function ($idsProductAbstractAsCsv) {
141
+                function($idsProductAbstractAsCsv) {
142 142
                     if (empty($idsProductAbstractAsCsv)) {
143 143
                         return [];
144 144
                     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductLabelGui/Communication/Form/ProductLabelFormType.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -219,14 +219,14 @@
 block discarded – undo
219 219
         $builder
220 220
             ->get($fieldName)
221 221
             ->addModelTransformer(new CallbackTransformer(
222
-                function ($dateAsString) {
222
+                function($dateAsString) {
223 223
                     if (!$dateAsString) {
224 224
                         return null;
225 225
                     }
226 226
 
227 227
                     return new DateTime($dateAsString);
228 228
                 },
229
-                function ($dateAsObject) {
229
+                function($dateAsObject) {
230 230
                     if (!$dateAsObject) {
231 231
                         return null;
232 232
                     }
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -150,12 +150,12 @@
 block discarded – undo
150 150
             static::FIELD_DYNAMIC_FLAG,
151 151
             CheckboxType::class,
152 152
             [
153
-              'label' => 'Is Dynamic',
154
-              'required' => false,
155
-              'disabled' => true,
156
-              'attr' => [
157
-                  'readonly' => true,
158
-              ],
153
+                'label' => 'Is Dynamic',
154
+                'required' => false,
155
+                'disabled' => true,
156
+                'attr' => [
157
+                    'readonly' => true,
158
+                ],
159 159
             ]
160 160
         );
161 161
 
Please login to merge, or discard this patch.
Bundles/Event/src/Spryker/Zed/Event/Business/Logger/EventLogger.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     public function log($message)
47 47
     {
48 48
         if (!$this->eventConfig->isLoggerActivated()) {
49
-             return;
49
+                return;
50 50
         }
51 51
 
52 52
         $this->getLogger($this->loggerConfig)
Please login to merge, or discard this patch.
Bundles/Event/tests/SprykerTest/Zed/Event/Business/EventFacadeTest.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -266,15 +266,15 @@
 block discarded – undo
266 266
 
267 267
         $businessLayerDependencies = $eventDependencyProvider->provideBusinessLayerDependencies($container);
268 268
 
269
-        $container[EventDependencyProvider::CLIENT_QUEUE] = function () use ($queueClientMock) {
269
+        $container[EventDependencyProvider::CLIENT_QUEUE] = function() use ($queueClientMock) {
270 270
             return $queueClientMock;
271 271
         };
272 272
 
273
-        $container[EventDependencyProvider::EVENT_LISTENERS] = function () use ($eventCollection) {
273
+        $container[EventDependencyProvider::EVENT_LISTENERS] = function() use ($eventCollection) {
274 274
             return $eventCollection;
275 275
         };
276 276
 
277
-        $container[EventDependencyProvider::EVENT_SUBSCRIBERS] = function () use ($eventSubscriberCollection) {
277
+        $container[EventDependencyProvider::EVENT_SUBSCRIBERS] = function() use ($eventSubscriberCollection) {
278 278
             return $eventSubscriberCollection;
279 279
         };
280 280
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@
 block discarded – undo
268 268
     protected function createTransferObjectMock(): TransferInterface
269 269
     {
270 270
         return $this->getMockBuilder(TransferInterface::class)
271
-           ->getMock();
271
+            ->getMock();
272 272
     }
273 273
 
274 274
     /**
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductGroup/Business/Model/ProductGroupReducer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         $this->assertProductGroupForExtension($productGroupTransfer);
48 48
 
49
-        return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
49
+        return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
50 50
             return $this->executeRemoveFromProductGroupTransaction($productGroupTransfer);
51 51
         });
52 52
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductGroup/Business/Model/ProductGroupCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             return $productGroupTransfer;
42 42
         }
43 43
 
44
-        return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
44
+        return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
45 45
             return $this->executeCreateProductGroupTransaction($productGroupTransfer);
46 46
         });
47 47
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductGroup/Business/Model/ProductGroupUpdater.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $this->assertProductGroupForUpdate($productGroupTransfer);
48 48
 
49
-        return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
49
+        return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
50 50
             return $this->executeUpdateProductGroupTransaction($productGroupTransfer);
51 51
         });
52 52
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     {
61 61
         $this->assertProductGroupForUpdate($productGroupTransfer);
62 62
 
63
-        return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
63
+        return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
64 64
             return $this->executeUpdateProductGroupTransaction($productGroupTransfer);
65 65
         });
66 66
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductGroup/Business/Model/ProductGroupExpander.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         $this->assertProductGroupForExtension($productGroupTransfer);
48 48
 
49
-        return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
49
+        return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
50 50
             return $this->executeExtendProductGroupTransaction($productGroupTransfer);
51 51
         });
52 52
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductGroup/Business/Model/ProductGroupDeleter.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
         $this->assertProductGroupForUpdate($productGroupTransfer);
47 47
 
48
-        $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
48
+        $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
49 49
             $this->executeUpdateProductGroupTransaction($productGroupTransfer);
50 50
         });
51 51
     }
Please login to merge, or discard this patch.