Passed
Push — master ( bcef3d...498580 )
by Hannes
38s queued 13s
created
Model/TransactionStatus/Forwarding.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
         try {
110 110
             $this->curl->post($sUrl, $aPostArray);
111 111
             $this->log($sUrl.' Response: '.$this->curl->getBody(), $aPostArray);
112
-        } catch(\Exception $exc) {
112
+        } catch (\Exception $exc) {
113 113
             $this->log($sUrl.' Exception: '.$exc->getMessage(), $aPostArray);
114 114
         }
115 115
     }
Please login to merge, or discard this patch.
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/ExternalAction.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
         parent::__construct($context);
47 47
 
48 48
         // Fix for Magento 2.3 CsrfValidator and backwards-compatibility to prior Magento 2 versions
49
-        if(interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) {
49
+        if (interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) {
50 50
             $request = $this->getRequest();
51 51
             if ($request instanceof Http && $request->isPost()) {
52 52
                 $request->setParam('ajax', true);
Please login to merge, or discard this patch.