Passed
Pull Request — master (#2)
by Dominique
22:55
created
tests/SprykerTest/Zed/Discount/Business/Calculator/Type/PercentageTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
     {
120 120
         $items = $this->getDiscountableItems(
121 121
             [
122
-                 self::ITEM_GROSS_PRICE_1000,
122
+                    self::ITEM_GROSS_PRICE_1000,
123 123
             ]
124 124
         );
125 125
 
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/Discount/Business/Calculator/CalculatorTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
 
487 487
         $calculatorMock
488 488
             ->method('calculateDiscount')
489
-            ->willReturnCallback(function ($discountableItems, DiscountTransfer $discountTransfer) {
489
+            ->willReturnCallback(function($discountableItems, DiscountTransfer $discountTransfer) {
490 490
                 return $discountTransfer->getAmount();
491 491
             });
492 492
 
@@ -550,7 +550,7 @@  discard block
 block discarded – undo
550 550
             $calculatorPluginMock = $this->createCalculatorPluginMock();
551 551
             $calculatorPluginMock
552 552
                 ->method('calculateDiscount')
553
-                ->willReturnCallback(function ($discountableItems, DiscountTransfer $discountTransfer) {
553
+                ->willReturnCallback(function($discountableItems, DiscountTransfer $discountTransfer) {
554 554
                     return $discountTransfer->getAmount();
555 555
                 });
556 556
         }
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/Discount/Business/Voucher/VoucherCodeTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
         $discountQueryContainerMock = $this->createDiscountQueryContainerMock();
60 60
         $discountQueryContainerMock->method('queryVoucherPoolByVoucherCodes')
61
-             ->willReturn($discountQueryMock);
61
+                ->willReturn($discountQueryMock);
62 62
 
63 63
         $voucherCode = $this->createVoucherCode($discountQueryContainerMock);
64 64
         $updated = $voucherCode->useCodes(['123']);
Please login to merge, or discard this patch.
SprykerTest/Zed/Discount/Business/QueryString/SpecificationBuilderTest.php 2 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
 
234 234
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
235 235
         $createComparatorOperatorsMock->method('isExistingComparator')
236
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
236
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
237 237
                 return $clauseTransfer->getOperator() === '=' ? true : false;
238 238
             });
239 239
 
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
 
259 259
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
260 260
         $createComparatorOperatorsMock->method('isExistingComparator')
261
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
261
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
262 262
                 return $clauseTransfer->getOperator() === '=' ? true : false;
263 263
             });
264 264
 
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
 
284 284
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
285 285
         $createComparatorOperatorsMock->method('isExistingComparator')
286
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
286
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
287 287
                 return $clauseTransfer->getOperator() === '=' ? true : false;
288 288
             });
289 289
 
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 
314 314
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
315 315
         $createComparatorOperatorsMock->method('isExistingComparator')
316
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
316
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
317 317
                 if ($clauseTransfer->getOperator() === '=' || $clauseTransfer->getOperator() === 'is in') {
318 318
                     return true;
319 319
                 }
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
 
342 342
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
343 343
         $createComparatorOperatorsMock->method('isExistingComparator')
344
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
344
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
345 345
                 if ($clauseTransfer->getOperator() === '=') {
346 346
                     return true;
347 347
                 }
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
 
367 367
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
368 368
         $createComparatorOperatorsMock->method('isExistingComparator')
369
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
369
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
370 370
                 if ($clauseTransfer->getOperator() === '=') {
371 371
                     return true;
372 372
                 }
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
 
406 406
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
407 407
         $createComparatorOperatorsMock->method('isExistingComparator')
408
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
408
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
409 409
                 if ($clauseTransfer->getOperator() === '=') {
410 410
                     return true;
411 411
                 }
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
     protected function createDecisionRulePlugins()
159 159
     {
160 160
         return [
161
-           new SkuDecisionRulePlugin(),
161
+            new SkuDecisionRulePlugin(),
162 162
         ];
163 163
     }
164 164
 
Please login to merge, or discard this patch.
src/Spryker/Zed/PropelQueryBuilder/PropelQueryBuilderDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     protected function addUtilEncodingService(Container $container)
40 40
     {
41
-        $container[static::SERVICE_UTIL_ENCODING] = function (Container $container) {
41
+        $container[static::SERVICE_UTIL_ENCODING] = function(Container $container) {
42 42
             return new PropelQueryBuilderToUtilEncodingBridge($container->getLocator()->utilEncoding()->service());
43 43
         };
44 44
         return $container;
Please login to merge, or discard this patch.
src/Spryker/Zed/Api/Communication/Plugin/ApiControllerListenerPlugin.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
         $request = $event->getRequest();
47 47
 
48
-        $apiController = function () use ($controller, $action, $request) {
48
+        $apiController = function() use ($controller, $action, $request) {
49 49
             $requestTransfer = $this->getRequestTransfer($request);
50 50
             $this->logRequest($requestTransfer);
51 51
 
Please login to merge, or discard this patch.
Yves/ProductLabel/Plugin/Provider/ProductLabelTwigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $app['twig'] = $app->share(
34 34
             $app->extend(
35 35
                 'twig',
36
-                function (Twig_Environment $twig) use ($twigExtension) {
36
+                function(Twig_Environment $twig) use ($twigExtension) {
37 37
                     $twig->addExtension($twigExtension);
38 38
 
39 39
                     return $twig;
Please login to merge, or discard this patch.
src/Spryker/Client/ProductLabel/Storage/LabelDictionaryReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
             return $productLabelCollection;
137 137
         }
138 138
 
139
-        usort($productLabelCollection, function (
139
+        usort($productLabelCollection, function(
140 140
             StorageProductLabelTransfer $productLabelTransferA,
141 141
             StorageProductLabelTransfer $productLabelTransferB
142 142
         ) {
Please login to merge, or discard this patch.
src/Spryker/Client/ProductLabel/ProductLabelDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     protected function addStorageClient(Container $container)
40 40
     {
41
-        $container[static::CLIENT_STORAGE] = function (Container $container) {
41
+        $container[static::CLIENT_STORAGE] = function(Container $container) {
42 42
             return new ProductLabelToStorageBridge($container->getLocator()->storage()->client());
43 43
         };
44 44
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     protected function addStore(Container $container)
54 54
     {
55
-        $container[static::STORE] = function () {
55
+        $container[static::STORE] = function() {
56 56
             return Store::getInstance();
57 57
         };
58 58
 
Please login to merge, or discard this patch.