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 — evangelist ( 51d272...5e660a )
by Temitope
02:25
created
src/EvangelistStatus.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 class EvangelistStatus extends Client implements EvangelistStatusInterface
23 23
 {
24 24
     private    $username;
25
-	protected  $githubApi;
25
+    protected  $githubApi;
26 26
     private $response;
27 27
 	
28 28
     public function __construct($username)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
             $this->exception_check_invalid_username->checkEmptyGithubUsername($this->username);
55 55
 
56
-            $this->response = $this->guzzle_client->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->client_id .'&client_secret='.$this->client_secret);
56
+            $this->response = $this->guzzle_client->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->client_id.'&client_secret='.$this->client_secret);
57 57
             return $this->response->getBody();
58 58
         } 
59 59
         catch (Exception $e)
Please login to merge, or discard this patch.
src/Exceptions/EvangelistStatusException.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -15,15 +15,15 @@
 block discarded – undo
15 15
 class EvangelistStatusException extends Exception
16 16
 {
17 17
     /**
18
-	 * This method checkEmptyGithubusername
19
-	 * @param String $username Github username
20
-	 *
21
-	 */
22
-	public function checkEmptyGithubUsername($username)
23
-	{
24
-		if ($username == "") 
25
-		{
26
-			throw new Exception("Invalid Github username");
27
-		}
28
-	}
18
+     * This method checkEmptyGithubusername
19
+     * @param String $username Github username
20
+     *
21
+     */
22
+    public function checkEmptyGithubUsername($username)
23
+    {
24
+        if ($username == "") 
25
+        {
26
+            throw new Exception("Invalid Github username");
27
+        }
28
+    }
29 29
 }
30 30
\ No newline at end of file
Please login to merge, or discard this patch.