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 ( 568bf9...e6a5de )
by Gabriel
03:08
created
src/Security/Auth/Auths.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
 
10 10
     /**
11
-     * @return self
11
+     * @return \Nip\Records\AbstractModels\Record
12 12
      */
13 13
     public function getCurrent()
14 14
     {
Please login to merge, or discard this patch.
src/Utility/Newrelic.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
         }
72 72
     }
73 73
 
74
+    /**
75
+     * @param string $name
76
+     */
74 77
     public static function nameTransaction($name)
75 78
     {
76 79
         if (self::isLoaded()) {
Please login to merge, or discard this patch.
src/Payments/Gateways/Providers/Mobilpay/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/AbstractGateway/Message/Views/confirm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
                 <p>
52 52
                     <?php
53
-                    echo $this->Messages()->$messageType($model->getManager()->getMessage('confirm.'.$model->status)); ?>
53
+                    echo $this->Messages()->$messageType($model->getManager()->getMessage('confirm.' . $model->status)); ?>
54 54
                 </p>
55 55
             <?php
56 56
 } 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/Romcard/Gateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $pClass->setData([
42 42
 //            'FIRST_NAME'	   => $donor->first_name,   // nume
43 43
 //            'LAST_NAME'	   => $donor->last_name,   // prenume
44
-            'EMAIL' => $donor->email,   // email
44
+            'EMAIL' => $donor->email, // email
45 45
         ]);
46 46
 
47 47
         $pClass->calculatePSIGN();
Please login to merge, or discard this patch.
src/Records/Traits/DbCacheTrait.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
     protected $_records = null;
13 13
     protected $_localCache;
14 14
 
15
-     /**
16
-     * @return Record
17
-     */
15
+        /**
16
+         * @return Record
17
+         */
18 18
     public function findOne($primary)
19 19
     {
20 20
         if (!$this->_records) {
Please login to merge, or discard this patch.