Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Zed/MerchantRelationship/_support/Helper/MerchantRelationshipHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
         $merchantRelationshipTransfer = $this->createOrUpdateMerchantRelationship($merchantRelationshipTransfer);
32 32
 
33
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($merchantRelationshipTransfer): void {
33
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($merchantRelationshipTransfer): void {
34 34
             $this->cleanupMerchantRelationship($merchantRelationshipTransfer);
35 35
         });
36 36
 
Please login to merge, or discard this patch.
SprykerTest/Zed/CategoryImage/_support/Helper/CategoryImageDataHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         $categoryTransfer->addImageSet($categoryImageSetTransfer);
45 45
         $this->getCategoryImageFacade()->createCategoryImageSetsForCategory($categoryTransfer);
46 46
 
47
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($categoryImageSetTransfer): void {
47
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($categoryImageSetTransfer): void {
48 48
             $this->cleanupCategoryImageSet($categoryImageSetTransfer);
49 49
         });
50 50
 
Please login to merge, or discard this patch.
Zed/ProductManagement/_support/ProductManagementPresentationTester.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function registerMoneyCollectionFormTypePlugin(): void
51 51
     {
52
-        $this->setDependency(ProductManagementDependencyProvider::PLUGIN_MONEY_FORM_TYPE, function () {
52
+        $this->setDependency(ProductManagementDependencyProvider::PLUGIN_MONEY_FORM_TYPE, function() {
53 53
             return new MoneyFormTypePlugin();
54 54
         });
55 55
     }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function registerProductManagementStoreRelationFormTypePlugin(): void
65 65
     {
66
-        $this->setDependency(ProductManagementDependencyProvider::PLUGIN_STORE_RELATION_FORM_TYPE, function () {
66
+        $this->setDependency(ProductManagementDependencyProvider::PLUGIN_STORE_RELATION_FORM_TYPE, function() {
67 67
             return new StoreRelationToggleFormTypePlugin();
68 68
         });
69 69
     }
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/Discount/_support/DiscountCommunicationTester.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
     public function registerStoreRelationToggleFormTypePlugin(): void
42 42
     {
43
-        $this->setDependency(DiscountDependencyProvider::PLUGIN_STORE_RELATION_FORM_TYPE, function () {
43
+        $this->setDependency(DiscountDependencyProvider::PLUGIN_STORE_RELATION_FORM_TYPE, function() {
44 44
             return new StoreRelationToggleFormTypePlugin();
45 45
         });
46 46
     }
Please login to merge, or discard this patch.
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.