Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
Zed/Discount/Business/DecisionRule/ItemPriceDecisionRuleTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public function testDecisionRuleWhenCurrentItemPriceMatchesShouldReturnTrue(): void
32 32
     {
33 33
         $comparatorMock = $this->createComparatorMock();
34
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $itemPrice) {
34
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $itemPrice) {
35 35
             return $clauseTransfer->getValue() === $itemPrice;
36 36
         });
37 37
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         }
58 58
 
59 59
         $currencyConverterMock = $this->createCurrencyConverterMock();
60
-        $currencyConverterMock->method('convertDecimalToCent')->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
60
+        $currencyConverterMock->method('convertDecimalToCent')->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
61 61
             return $clauseTransfer->setValue($clauseTransfer->getValue() * 100);
62 62
         });
63 63
 
Please login to merge, or discard this patch.
Zed/Discount/Business/DecisionRule/TotalQuantityDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function testWhenTotalQuantityMatchesClauseShouldReturnTrue(): void
32 32
     {
33 33
         $comparatorMock = $this->createComparatorMock();
34
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $grandTotal) {
34
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $grandTotal) {
35 35
             return $clauseTransfer->getValue() === $grandTotal;
36 36
         });
37 37
 
Please login to merge, or discard this patch.
Zed/Discount/Business/DecisionRule/PriceModeDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function testDecisionRuleWhenPriceModeMatchesShouldReturnTrue(): void
32 32
     {
33 33
         $comparatorMock = $this->createComparatorMock();
34
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $currency) {
34
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $currency) {
35 35
             return $clauseTransfer->getValue() === $currency;
36 36
         });
37 37
 
Please login to merge, or discard this patch.
Zed/Discount/Business/DecisionRule/ItemQuantityDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function testDecisionRuleWhenCurrentItemQuantityMatchesShouldReturnTrue(): void
32 32
     {
33 33
         $comparatorMock = $this->createComparatorMock();
34
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $itemQuantity) {
34
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $itemQuantity) {
35 35
             return $clauseTransfer->getValue() === $itemQuantity;
36 36
         });
37 37
 
Please login to merge, or discard this patch.
SprykerTest/Zed/Discount/Business/DecisionRule/ItemSkuDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function testDecisionRuleWhenCurrentItemSkuMatchesShouldReturnTrue(): void
32 32
     {
33 33
         $comparatorMock = $this->createComparatorMock();
34
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $itemSku) {
34
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $itemSku) {
35 35
             return $clauseTransfer->getValue() === $itemSku;
36 36
         });
37 37
 
Please login to merge, or discard this patch.
SprykerTest/Zed/Discount/Business/DecisionRule/SubtotalDecisionRuleTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     public function testWhenSubTotalMatchesClauseShouldReturnTrue(): void
33 33
     {
34 34
         $comparatorMock = $this->createComparatorMock();
35
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $grandTotal) {
35
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $grandTotal) {
36 36
             return $clauseTransfer->getValue() === $grandTotal;
37 37
         });
38 38
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         }
81 81
 
82 82
         $currencyConverterMock = $this->createCurrencyConverterMock();
83
-        $currencyConverterMock->method('convertDecimalToCent')->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
83
+        $currencyConverterMock->method('convertDecimalToCent')->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
84 84
             return $clauseTransfer->setValue($clauseTransfer->getValue() * 100);
85 85
         });
86 86
 
Please login to merge, or discard this patch.
SprykerTest/Zed/Discount/Business/DecisionRule/CurrencyDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function testDecisionRuleWhenCurrencyMatchesShouldReturnTrue(): void
32 32
     {
33 33
         $comparatorMock = $this->createComparatorMock();
34
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $currency) {
34
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $currency) {
35 35
             return $clauseTransfer->getValue() === $currency;
36 36
         });
37 37
 
Please login to merge, or discard this patch.
Zed/Discount/Business/DecisionRule/GrandTotalDecisionRuleTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     public function testWhenGrandTotalMatchesShouldReturnTrue(): void
33 33
     {
34 34
         $comparatorMock = $this->createComparatorMock();
35
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $grandTotal) {
35
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $grandTotal) {
36 36
             return $clauseTransfer->getValue() === $grandTotal;
37 37
         });
38 38
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     public function testWhenGrandTotalNotMatchingShouldReturnFalse(): void
59 59
     {
60 60
         $comparatorMock = $this->createComparatorMock();
61
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $grandTotal) {
61
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $grandTotal) {
62 62
             return $clauseTransfer->getValue() === $grandTotal;
63 63
         });
64 64
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         }
107 107
 
108 108
         $currencyConverterMock = $this->createCurrencyConverterMock();
109
-        $currencyConverterMock->method('convertDecimalToCent')->willReturnCallback(function (ClauseTransfer $clauseTransfer) {
109
+        $currencyConverterMock->method('convertDecimalToCent')->willReturnCallback(function(ClauseTransfer $clauseTransfer) {
110 110
             return $clauseTransfer->setValue($clauseTransfer->getValue() * 100);
111 111
         });
112 112
 
Please login to merge, or discard this patch.
Zed/ProductOption/Business/OptionGroup/ProductOptionOrderSaverTest.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
         $salesOrderItemOptionEntityMock
47 47
             ->expects($this->exactly(2))
48 48
             ->method('save')
49
-            ->willReturnCallback(function () use ($salesOrderItemOptionEntityMock): void {
49
+            ->willReturnCallback(function() use ($salesOrderItemOptionEntityMock): void {
50 50
                 $salesOrderItemOptionEntityMock->setIdSalesOrderItemOption(1);
51 51
             });
52 52
 
Please login to merge, or discard this patch.