Completed
Push — master ( 6279d8...15f84e )
by mark
30s queued 11s
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
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
     {
107 107
         $items = $this->getDiscountableItems(
108 108
             [
109
-                 self::ITEM_GROSS_PRICE_1000,
109
+                    self::ITEM_GROSS_PRICE_1000,
110 110
             ]
111 111
         );
112 112
 
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
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
45 45
         $createComparatorOperatorsMock->method('isExistingComparator')
46
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
46
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
47 47
                 return $clauseTransfer->getOperator() === '=' ? true : false;
48 48
             });
49 49
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
70 70
         $createComparatorOperatorsMock->method('isExistingComparator')
71
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
71
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
72 72
                 return $clauseTransfer->getOperator() === '=' ? true : false;
73 73
             });
74 74
 
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
95 95
         $createComparatorOperatorsMock->method('isExistingComparator')
96
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
96
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
97 97
                 return $clauseTransfer->getOperator() === '=' ? true : false;
98 98
             });
99 99
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
125 125
         $createComparatorOperatorsMock->method('isExistingComparator')
126
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
126
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
127 127
                 if ($clauseTransfer->getOperator() === '=' || $clauseTransfer->getOperator() === 'is in') {
128 128
                     return true;
129 129
                 }
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
153 153
         $createComparatorOperatorsMock->method('isExistingComparator')
154
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
154
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
155 155
                 if ($clauseTransfer->getOperator() === '=') {
156 156
                     return true;
157 157
                 }
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 
177 177
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
178 178
         $createComparatorOperatorsMock->method('isExistingComparator')
179
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
179
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
180 180
                 if ($clauseTransfer->getOperator() === '=') {
181 181
                     return true;
182 182
                 }
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 
216 216
         $createComparatorOperatorsMock = $this->createComparatorOperatorsMock();
217 217
         $createComparatorOperatorsMock->method('isExistingComparator')
218
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
218
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
219 219
                 if ($clauseTransfer->getOperator() === '=') {
220 220
                     return true;
221 221
                 }
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.
tests/SprykerTest/Zed/Discount/Business/Voucher/VoucherCodeTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
         $discountQueryContainerMock = $this->createDiscountQueryContainerMock();
49 49
         $discountQueryContainerMock->method('queryVoucherPoolByVoucherCodes')
50
-             ->willReturn($discountQueryMock);
50
+                ->willReturn($discountQueryMock);
51 51
 
52 52
         $voucherCode = $this->createVoucherCode($discountQueryContainerMock);
53 53
         $updated = $voucherCode->useCodes(['123']);
Please login to merge, or discard this patch.
Zed/Gui/Communication/Plugin/Twig/Buttons/AbstractButtonFunction.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
     protected function getFunction()
29 29
     {
30
-        return function ($url, $title, $options = []) {
30
+        return function($url, $title, $options = []) {
31 31
             if (!array_key_exists(ButtonUrlGenerator::ICON, $options)) {
32 32
                 $options[ButtonUrlGenerator::ICON] = $this->getIcon();
33 33
             }
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
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         $this->assertProductGroupForUpdate($productGroupTransfer);
41 41
 
42
-        $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
42
+        $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
43 43
             $this->executeUpdateProductGroupTransaction($productGroupTransfer);
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/Calculation/Business/CalculationBusinessFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
      */
171 171
     public function createSubtotalCalculator()
172 172
     {
173
-         return new SubtotalCalculator();
173
+            return new SubtotalCalculator();
174 174
     }
175 175
 
176 176
     /**
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
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     {
49 49
         $this->assertProductGroupForExtension($productGroupTransfer);
50 50
 
51
-        return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
51
+        return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
52 52
             return $this->executeExtendProductGroupTransaction($productGroupTransfer);
53 53
         });
54 54
     }
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
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     {
49 49
         $this->assertProductGroupForUpdate($productGroupTransfer);
50 50
 
51
-        return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
51
+        return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
52 52
             return $this->executeUpdateProductGroupTransaction($productGroupTransfer);
53 53
         });
54 54
     }
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $this->assertProductGroupForUpdate($productGroupTransfer);
64 64
 
65
-        return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
65
+        return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
66 66
             return $this->executeUpdateProductGroupTransaction($productGroupTransfer);
67 67
         });
68 68
     }
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
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             return $productGroupTransfer;
44 44
         }
45 45
 
46
-        return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
46
+        return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
47 47
             return $this->executeCreateProductGroupTransaction($productGroupTransfer);
48 48
         });
49 49
     }
Please login to merge, or discard this patch.