Passed
Push — master ( d7e36a...aaf3bd )
by Florian
02:03
created
Model/Plugins/MethodList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
     protected function removeBannedPaymentMethods($aPaymentMethods, Quote $oQuote)
206 206
     {
207 207
         $aBannedMethos = $this->getBannedPaymentMethods($oQuote);
208
-        for($i = 0; $i < count($aPaymentMethods); $i++) {
208
+        for ($i = 0; $i < count($aPaymentMethods); $i++) {
209 209
             $sCode = $aPaymentMethods[$i]->getCode();
210 210
             if (array_key_exists($sCode, $aBannedMethos) !== false) {
211 211
                 $iBannedUntil = strtotime($aBannedMethos[$sCode]);
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
      */
226 226
     public function removeAmazonPay($aPaymentMethods)
227 227
     {
228
-        for($i = 0; $i < count($aPaymentMethods); $i++) {
228
+        for ($i = 0; $i < count($aPaymentMethods); $i++) {
229 229
             if (isset($aPaymentMethods[$i]) && $aPaymentMethods[$i]->getCode() == PayoneConfig::METHOD_AMAZONPAY) {
230 230
                 unset($aPaymentMethods[$i]);
231 231
             }
Please login to merge, or discard this patch.
Controller/Transactionstatus/Decouple.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
         $this->resultRawFactory = $resultRawFactory;
66 66
 
67 67
         // Fix for Magento 2.3 CsrfValidator and backwards-compatibility to prior Magento 2 versions
68
-        if(interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) {
68
+        if (interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) {
69 69
             $this->tmpLog('Constructor Decouple Controller 3');
70 70
             $request = $this->getRequest();
71 71
             if ($request instanceof Http && $request->isPost()) {
Please login to merge, or discard this patch.
Controller/Transactionstatus/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
         $this->substituteOrder = $substituteOrder;
116 116
 
117 117
         // Fix for Magento 2.3 CsrfValidator and backwards-compatibility to prior Magento 2 versions
118
-        if(interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) {
118
+        if (interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) {
119 119
             $request = $this->getRequest();
120 120
             if ($request instanceof Http && $request->isPost()) {
121 121
                 $request->setParam('ajax', true);
Please login to merge, or discard this patch.
Controller/Onepage/Returned.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
         $this->databaseHelper = $databaseHelper;
76 76
 
77 77
         // Fix for Magento 2.3 CsrfValidator and backwards-compatibility to prior Magento 2 versions
78
-        if(interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) {
78
+        if (interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) {
79 79
             $request = $this->getRequest();
80 80
             if ($request instanceof Http && $request->isPost()) {
81 81
                 $request->setParam('ajax', true);
Please login to merge, or discard this patch.