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.
Completed
Push — master ( 602b3b...9f6655 )
by Jared
11:15
created
src/JCFirebase.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
             throw new \Exception("firebase default path must contain /");
115 115
         }
116 116
 
117
-        $pathURI = $this->firebaseURI . $this->rootPath . $path . ".json";
117
+        $pathURI = $this->firebaseURI.$this->rootPath.$path.".json";
118 118
 
119 119
         //set query data
120 120
         $queryData = array();
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
             $queryData[Option::OPT_PRINT] = $print;
123 123
         }
124 124
         if (!empty($queryData)) {
125
-            $pathURI = $pathURI . '?' . http_build_query($queryData);
125
+            $pathURI = $pathURI.'?'.http_build_query($queryData);
126 126
         }
127 127
 
128 128
         $this->refreshToken();
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     public function getShallow($path = '', $options = array())
134 134
     {
135 135
         return JCRequest::get(
136
-            $this->getPathURI($path) . '?' . http_build_query(array(
136
+            $this->getPathURI($path).'?'.http_build_query(array(
137 137
                 Option::OPT_SHALLOW => 'true'
138 138
             )),
139 139
             $this->addDataToRequest($options),
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
 
231 231
     protected function refreshToken()
232 232
     {
233
-        $this->requestHeader['Authorization'] = 'Bearer ' . $this->auth->getAccessToken();
233
+        $this->requestHeader['Authorization'] = 'Bearer '.$this->auth->getAccessToken();
234 234
     }
235 235
 
236 236
     protected function addDataToPathURI($path = '', $options = array(), $reqType = RequestType::GET)
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 
9 9
 namespace JCFirebase;
10 10
 
11
-use JC\JCRequest;
12
-use JC\JCResponse;
13 11
 use JCFirebase\Enums\PrintType;
14 12
 use JCFirebase\Enums\RequestType;
13
+use JC\JCRequest;
14
+use JC\JCResponse;
15 15
 
16 16
 /**
17 17
  * Class JCFirebase
Please login to merge, or discard this patch.
src/Models/FirebaseModel.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
 
185 185
     /**
186 186
      * @param $object
187
-     * @param $instance
187
+     * @param FirebaseModel $instance
188 188
      * @return object
189 189
      */
190 190
     protected static function map($object, $instance)
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     public function save()
114 114
     {
115 115
         if (!empty($this->key)) {
116
-            $response = $this->firebase->put(static::getNodeName() . '/' . $this->key, array(
116
+            $response = $this->firebase->put(static::getNodeName().'/'.$this->key, array(
117 117
                 'data' => $this->getData()
118 118
             ));
119 119
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     {
133 133
         $success = false;
134 134
         if (!empty($this->key)) {
135
-            $response = $this->firebase->delete(static::getNodeName() . '/' . $this->key);
135
+            $response = $this->firebase->delete(static::getNodeName().'/'.$this->key);
136 136
 
137 137
             $success = $response->success();
138 138
         }
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      */
149 149
     public static function findByKey($key, JCFirebase $firebase)
150 150
     {
151
-        $response = $firebase->get(static::getNodeName() . '/' . $key);
151
+        $response = $firebase->get(static::getNodeName().'/'.$key);
152 152
         $object = null;
153 153
         if ($response->success() && $response->body() != 'null') {
154 154
             $object = static::map($response->json(), new static());
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
         $jsonObject = json_decode($response->body(), true);
173 173
         if ($response->success() && count($jsonObject)) {
174 174
             do {
175
-                $object = static::map((object)current($jsonObject), new static());
175
+                $object = static::map((object) current($jsonObject), new static());
176 176
                 $object->key = key($jsonObject);
177 177
                 $object->firebase = $firebase;
178 178
                 $objects[] = $object;
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     protected static function map($object, $instance)
191 191
     {
192 192
         $mapper = new JsonMapper();
193
-        return $mapper->map((object)static::mapAttributes(get_object_vars($object), false), $instance);
193
+        return $mapper->map((object) static::mapAttributes(get_object_vars($object), false), $instance);
194 194
     }
195 195
 
196 196
     /**
Please login to merge, or discard this patch.