GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( d98247...8bca22 )
by Gabriel
05:10
created
src/Payments/Gateways/Providers/Epaybg/Form.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
     public function initElements()
14 14
     {
15 15
         $this->addRadioGroup('sandbox', 'sandbox', true);
16
-        $element = $this->getForm()->getElement($this->getGateway()->getName().'[sandbox]');
16
+        $element = $this->getForm()->getElement($this->getGateway()->getName() . '[sandbox]');
17 17
         $element->getRenderer()->setSeparator('');
18 18
         $element->addOption('yes', 'Yes');
19 19
         $element->addOption('no', 'No');
20 20
 
21 21
         $this->addSelect('paymentpage', 'Payment Page', true);
22
-        $element = $this->getForm()->getElement($this->getGateway()->getName().'[paymentpage]');
22
+        $element = $this->getForm()->getElement($this->getGateway()->getName() . '[paymentpage]');
23 23
         $element->addOption('paylogin', 'Pay login');
24 24
         $element->addOption('credit_paydirect', 'Pay direct');
25 25
 
Please login to merge, or discard this patch.
Payments/Gateways/Providers/Payu/Message/ServerCompletePurchaseResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function getContent()
38 38
     {
39
-        return '<EPAYMENT>'.$this->data['dateReturn'].'|'.$this->data['hashReturn'].'</EPAYMENT>';
39
+        return '<EPAYMENT>' . $this->data['dateReturn'] . '|' . $this->data['hashReturn'] . '</EPAYMENT>';
40 40
     }
41 41
 
42 42
     /**  @noinspection PhpMissingParentCallCommonInspection
Please login to merge, or discard this patch.
src/Payments/Gateways/Providers/AbstractGateway/Message/Views/confirm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
                 <p>
51 51
                     <?php
52
-                    echo $this->Messages()->$messageType($model->getManager()->getMessage('confirm.'.$model->status));
52
+                    echo $this->Messages()->$messageType($model->getManager()->getMessage('confirm.' . $model->status));
53 53
                     ?>
54 54
                 </p>
55 55
             <?php } else { ?>
Please login to merge, or discard this patch.
Gateways/Providers/AbstractGateway/Message/CompletePurchaseResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     {
70 70
         if ($this->hasModel()) {
71 71
 //            return $this->getModel()->getConfirmStatusTitle();
72
-            return translator()->translate('payment-gateways.messages.confirm.'.$this->getMessageType().'.title');
72
+            return translator()->translate('payment-gateways.messages.confirm.' . $this->getMessageType() . '.title');
73 73
         } else {
74 74
             return 'Error confirming payment';
75 75
         }
Please login to merge, or discard this patch.
src/Payments/Gateways/Providers/AbstractGateway/Message/Traits/HasView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     protected function initView()
61 61
     {
62 62
         $view = $this->newView();
63
-        $view->setBasePath(dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR.'Views'.DIRECTORY_SEPARATOR);
63
+        $view->setBasePath(dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'Views' . DIRECTORY_SEPARATOR);
64 64
         $this->setView($view);
65 65
     }
66 66
 
Please login to merge, or discard this patch.
Providers/AbstractGateway/Message/RedirectResponse/RedirectTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             return HttpResponse::create($output);
57 57
         }
58 58
 
59
-        throw new RuntimeException('Invalid redirect method "'.$this->getRedirectMethod().'".');
59
+        throw new RuntimeException('Invalid redirect method "' . $this->getRedirectMethod() . '".');
60 60
     }
61 61
 
62 62
     /**
@@ -109,11 +109,11 @@  discard block
 block discarded – undo
109 109
         foreach ($this->getRedirectData() as $key => $value) {
110 110
             if (is_array($value)) {
111 111
                 foreach ($value as $iKey => $iValue) {
112
-                    $key = $key.'['.$iKey.']';
113
-                    $hiddenFields .= $this->generateHiddenInput($key, $iValue)."\n";
112
+                    $key = $key . '[' . $iKey . ']';
113
+                    $hiddenFields .= $this->generateHiddenInput($key, $iValue) . "\n";
114 114
                 }
115 115
             } else {
116
-                $hiddenFields .= $this->generateHiddenInput($key, $value)."\n";
116
+                $hiddenFields .= $this->generateHiddenInput($key, $value) . "\n";
117 117
             }
118 118
         }
119 119
 
Please login to merge, or discard this patch.
src/Payments/Gateways/Providers/Euplatesc/Message/Helper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         if ($string === null || strlen($string) == 0) {
19 19
             $return = '-'; // valorile nule sunt inlocuite cu -
20 20
         } else {
21
-            $return = strlen($string).$string;
21
+            $return = strlen($string) . $string;
22 22
         }
23 23
 
24 24
         return $return;
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $ipad = str_repeat(chr(0x36), $blocksize);
44 44
         $opad = str_repeat(chr(0x5c), $blocksize);
45 45
 
46
-        $hmac = pack('H*', $hashfunc(($key ^ $opad).pack('H*', $hashfunc(($key ^ $ipad).$data))));
46
+        $hmac = pack('H*', $hashfunc(($key ^ $opad) . pack('H*', $hashfunc(($key ^ $ipad) . $data))));
47 47
 
48 48
         return bin2hex($hmac);
49 49
     }
Please login to merge, or discard this patch.
src/Payments/Gateways/Providers/Euplatesc/Message/PurchaseRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             'order_desc' => $this->getOrderName(),
66 66
             'merch_id' => $this->getMid(),
67 67
             'timestamp' => gmdate("YmdHis"),
68
-            'nonce' => md5(microtime().mt_rand()),
68
+            'nonce' => md5(microtime() . mt_rand()),
69 69
         ];
70 70
     }
71 71
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             'country' => $card->getCountry(),
91 91
             'company' => $card->getBillingCompany(),
92 92
             'city' => $card->getCity(),
93
-            'add' => $card->getAddress1().' '.$card->getAddress2(),
93
+            'add' => $card->getAddress1() . ' ' . $card->getAddress2(),
94 94
             'email' => $card->getEmail(),
95 95
             'phone' => $card->getPhone(),
96 96
             'fax' => $card->getFax(),
Please login to merge, or discard this patch.
src/Payments/Gateways/Providers/Euplatesc/Api/Euplatesc.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
                 //nu modificati
31 31
             ),
32 32
             'bill' => array(
33
-                'fname' => '',   // nume
34
-                'lname' => '',   // prenume
35
-                'country' => '',   // tara
36
-                'company' => '',   // firma
37
-                'city' => '',   // oras
38
-                'add' => '',   // adresa
39
-                'email' => '',   // email
40
-                'phone' => '',   // telefon
41
-                'fax' => '',   // fax
33
+                'fname' => '', // nume
34
+                'lname' => '', // prenume
35
+                'country' => '', // tara
36
+                'company' => '', // firma
37
+                'city' => '', // oras
38
+                'add' => '', // adresa
39
+                'email' => '', // email
40
+                'phone' => '', // telefon
41
+                'fax' => '', // fax
42 42
             ),
43 43
         );
44 44
     }
Please login to merge, or discard this patch.