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 ( 4c0a4b...3ad526 )
by Jared
09:58
created
src/JCFirebase.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 
9 9
 namespace JCFirebase;
10 10
 
11
-use Requests;
12
-use JCFirebase\Enums\RequestType;
13 11
 use JCFirebase\Enums\PrintType;
12
+use JCFirebase\Enums\RequestType;
13
+use Requests;
14 14
 
15 15
 /**
16 16
  * Class JCFirebase
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
             throw new \Exception("firebase default path must contain /");
114 114
         }
115 115
 
116
-        $pathURI = $this->firebaseURI . $this->rootPath . $path . ".json";
116
+        $pathURI = $this->firebaseURI.$this->rootPath.$path.".json";
117 117
 
118 118
         //set query data
119 119
         $queryData = array();
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $queryData[Option::_PRINT] = $print;
122 122
         }
123 123
         if (!empty($queryData)) {
124
-            $pathURI = $pathURI . '?' . http_build_query($queryData);
124
+            $pathURI = $pathURI.'?'.http_build_query($queryData);
125 125
         }
126 126
 
127 127
         $this->refreshToken();
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     public function getShallow($path = '', $options = array())
133 133
     {
134 134
         return Requests::get(
135
-            $this->getPathURI($path) . '?' . http_build_query(array(
135
+            $this->getPathURI($path).'?'.http_build_query(array(
136 136
                 Option::_SHALLOW => 'true'
137 137
             )),
138 138
             $this->requestHeader,
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 
218 218
     protected function refreshToken()
219 219
     {
220
-        $this->requestHeader['Authorization'] = 'Bearer ' . $this->auth->getAccessToken();
220
+        $this->requestHeader['Authorization'] = 'Bearer '.$this->auth->getAccessToken();
221 221
     }
222 222
 
223 223
     protected function addDataToPathURI($path = '', $options = array(), $reqType = RequestType::GET)
Please login to merge, or discard this patch.
src/Models/FirebaseModel.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@
 block discarded – undo
8 8
 
9 9
 namespace JCFirebase\Models;
10 10
 
11
-use JsonMapper;
12 11
 use JCFirebase\JCFirebase;
12
+use JsonMapper;
13 13
 
14 14
 /**
15 15
  * Class FirebaseModel
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     public function save()
82 82
     {
83 83
         if (!empty($this->key)) {
84
-            $response = $this->firebase->put(self::getNodeName() . '/' . $this->key, array(
84
+            $response = $this->firebase->put(self::getNodeName().'/'.$this->key, array(
85 85
                 'data' => $this->getData()
86 86
             ));
87 87
 
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     {
101 101
         $success = false;
102 102
         if (!empty($this->key)) {
103
-            $response = $this->firebase->delete(self::getNodeName() . '/' . $this->key);
103
+            $response = $this->firebase->delete(self::getNodeName().'/'.$this->key);
104 104
 
105 105
             $success = $response->success;
106 106
         }
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     public static function findByKey($key, JCFirebase $firebase)
118 118
     {
119
-        $response = $firebase->get(self::getNodeName() . '/' . $key);
119
+        $response = $firebase->get(self::getNodeName().'/'.$key);
120 120
         $object = null;
121 121
         if ($response->success && $response->body != 'null') {
122 122
             $mapper = new JsonMapper();
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         if ($response->success && count($jsonObject)) {
143 143
             do {
144 144
                 $mapper = new JsonMapper();
145
-                $object = $mapper->map((object)current($jsonObject), new static());
145
+                $object = $mapper->map((object) current($jsonObject), new static());
146 146
                 $object->key = key($jsonObject);
147 147
                 $object->firebase = $firebase;
148 148
                 $objects[] = $object;
Please login to merge, or discard this patch.