Passed
Push — dev ( c8a003...9e39ed )
by Oleksandr
07:06
created
src/SprykerEco/Zed/Computop/Business/Payment/Handler/Saver/CaptureSaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function save(TransferInterface $responseTransfer, OrderTransfer $orderTransfer)
28 28
     {
29
-        $this->handleDatabaseTransaction(function () use ($responseTransfer, $orderTransfer) {
29
+        $this->handleDatabaseTransaction(function() use ($responseTransfer, $orderTransfer) {
30 30
             $this->saveComputopDetails($responseTransfer, $orderTransfer);
31 31
         });
32 32
 
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Computop/Business/Payment/Handler/Saver/InquireSaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function save(TransferInterface $responseTransfer, OrderTransfer $orderTransfer)
28 28
     {
29
-        $this->handleDatabaseTransaction(function () use ($responseTransfer, $orderTransfer) {
29
+        $this->handleDatabaseTransaction(function() use ($responseTransfer, $orderTransfer) {
30 30
             $this->saveComputopDetails($responseTransfer, $orderTransfer);
31 31
         });
32 32
 
Please login to merge, or discard this patch.
SprykerEco/Zed/Computop/Business/Payment/Handler/Saver/AuthorizeSaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function save(TransferInterface $responseTransfer, OrderTransfer $orderTransfer)
28 28
     {
29
-        $this->handleDatabaseTransaction(function () use ($responseTransfer, $orderTransfer) {
29
+        $this->handleDatabaseTransaction(function() use ($responseTransfer, $orderTransfer) {
30 30
             $this->saveComputopDetails($responseTransfer, $orderTransfer);
31 31
         });
32 32
 
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Computop/Business/Payment/PaymentMethodFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,8 @@
 block discarded – undo
66 66
      */
67 67
     protected function getAvailablePaymentMethods(QuoteTransfer $quoteTransfer): array
68 68
     {
69
-        $method = static::CONFIG_METHOD_PART_GET_CRIF .
70
-            ucfirst(strtolower($quoteTransfer->getComputopCrif()->getResult())) .
69
+        $method = static::CONFIG_METHOD_PART_GET_CRIF.
70
+            ucfirst(strtolower($quoteTransfer->getComputopCrif()->getResult())).
71 71
             static::CONFIG_METHOD_PART_PAYMENT_METHODS;
72 72
 
73 73
         if (method_exists($this->config, $method)) {
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Computop/Business/RiskCheck/Saver/CrifSaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function save(ComputopApiCrifResponseTransfer $responseTransfer, QuoteTransfer $quoteTransfer): void
28 28
     {
29
-        $this->getTransactionHandler()->handleTransaction(function () use ($responseTransfer) {
29
+        $this->getTransactionHandler()->handleTransaction(function() use ($responseTransfer) {
30 30
             $this->saveComputopDetails($responseTransfer);
31 31
         });
32 32
     }
Please login to merge, or discard this patch.
src/SprykerEco/Client/Computop/ComputopConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,6 @@
 block discarded – undo
17 17
      */
18 18
     public function isCrifEnabled(): bool
19 19
     {
20
-        return (bool)$this->get(ComputopConstants::CRIF_ENABLED);
20
+        return (bool) $this->get(ComputopConstants::CRIF_ENABLED);
21 21
     }
22 22
 }
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Computop/ComputopConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,6 @@
 block discarded – undo
17 17
      */
18 18
     public function isCrifEnabled(): bool
19 19
     {
20
-        return (bool)$this->get(ComputopConstants::CRIF_ENABLED);
20
+        return (bool) $this->get(ComputopConstants::CRIF_ENABLED);
21 21
     }
22 22
 }
Please login to merge, or discard this patch.
Zed/Computop/Business/Payment/Handler/PrePlace/EasyCreditStatusHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
             return 0;
123 123
         }
124 124
 
125
-        $expense = (float)$financing[static::PLAN][static::PAY_RENT][static::ACCRUED_INTEREST];
125
+        $expense = (float) $financing[static::PLAN][static::PAY_RENT][static::ACCRUED_INTEREST];
126 126
 
127 127
         return $this->moneyFacade->convertDecimalToInteger($expense);
128 128
     }
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
             return 0;
163 163
         }
164 164
 
165
-        $paymentAmount = (float)$financing[static::PLAN][static::TOTAL];
165
+        $paymentAmount = (float) $financing[static::PLAN][static::TOTAL];
166 166
 
167 167
         return $this->moneyFacade->convertDecimalToInteger($paymentAmount);
168 168
     }
Please login to merge, or discard this patch.
src/SprykerEco/Yves/Computop/ComputopDependencyProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,29 +31,29 @@
 block discarded – undo
31 31
      */
32 32
     public function provideDependencies(Container $container)
33 33
     {
34
-        $container[static::CLIENT_COMPUTOP] = function (Container $container) {
34
+        $container[static::CLIENT_COMPUTOP] = function(Container $container) {
35 35
             return $container->getLocator()->computop()->client();
36 36
         };
37 37
 
38
-        $container[static::SERVICE_COMPUTOP_API] = function () use ($container) {
38
+        $container[static::SERVICE_COMPUTOP_API] = function() use ($container) {
39 39
             return $container->getLocator()->computopApi()->service();
40 40
         };
41 41
 
42
-        $container[static::CLIENT_QUOTE] = function () use ($container) {
42
+        $container[static::CLIENT_QUOTE] = function() use ($container) {
43 43
             return new ComputopToQuoteClientBridge($container->getLocator()->quote()->client());
44 44
         };
45 45
 
46
-        $container[static::CLIENT_CALCULATION] = function () use ($container) {
46
+        $container[static::CLIENT_CALCULATION] = function() use ($container) {
47 47
             return new ComputopToCalculationClientBridge($container->getLocator()->calculation()->client());
48 48
         };
49 49
 
50
-        $container[static::PLUGIN_APPLICATION] = function () {
50
+        $container[static::PLUGIN_APPLICATION] = function() {
51 51
             $pimplePlugin = new Pimple();
52 52
 
53 53
             return $pimplePlugin->getApplication();
54 54
         };
55 55
 
56
-        $container[static::STORE] = function () {
56
+        $container[static::STORE] = function() {
57 57
             return new ComputopToStoreBridge(Store::getInstance());
58 58
         };
59 59
 
Please login to merge, or discard this patch.