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 ( 6effe2...d51cbb )
by Temitope
05:13
created
src/EvangelistStatus.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,14 +10,12 @@
 block discarded – undo
10 10
  * @license  <https://opensource.org/license/MIT> MIT
11 11
  */
12 12
 
13
-use Dotenv\Dotenv;
14 13
 use GuzzleHttp\Client;
15 14
 use Laztopaz\OpenSourceEvangelistStatus\EvangelistStatusInterface;
16 15
 use Laztopaz\OpenSourceEvangelistStatus\EvangelistStatusRanking;
17 16
 use Laztopaz\OpenSourceEvangelistStatus\EvangelistStatusException;
18 17
 use Laztopaz\OpenSourceEvangelistStatus\NullNoOfReposException;
19 18
 use Laztopaz\OpenSourceEvangelistStatus\ArgumentCheckException;
20
-use Exception;
21 19
 
22 20
 
23 21
 class EvangelistStatus implements EvangelistStatusInterface
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     { 
36 36
         $num_args = (int) func_num_args(); // get number of arguments passed to 
37 37
 
38
-        if ($num_args == 0 ||  $num_args > 1)
38
+        if ($num_args == 0 || $num_args > 1)
39 39
         {
40 40
             throw ArgumentCheckException::NullOfOverflowArgumentException("Argument missing: only one argument is allowed");
41 41
         }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function getGitApiData()
65 65
     {
66
-        $this->response = $this->guzzleClient->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->clientId .'&client_secret='.$this->clientSecret);
66
+        $this->response = $this->guzzleClient->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->clientId.'&client_secret='.$this->clientSecret);
67 67
         return $this->response->getBody();
68 68
     }
69 69
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     {
77 77
         $githubJson = json_decode($this->githubResponse, true);
78 78
 
79
-        if(EvangelistStatusRanking::checkForNullRepos($githubJson))
79
+        if (EvangelistStatusRanking::checkForNullRepos($githubJson))
80 80
         {
81 81
             throw NullNoOfReposException::createNullReposException("Empty GitHub repository");
82 82
         }
Please login to merge, or discard this patch.
src/Interface/EvangelistStatusRankingInterface.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -14,17 +14,17 @@
 block discarded – undo
14 14
 interface EvangelistStatusRankingInterface
15 15
 {
16 16
     /**
17
-	 * This method returns the evangelist level 
18
-	 * @param void
17
+     * This method returns the evangelist level 
18
+     * @param void
19 19
      * @return void
20
-	 */
21
-	public static function determineEvangelistLevel($noOfRepositories);
20
+     */
21
+    public static function determineEvangelistLevel($noOfRepositories);
22 22
 
23
-	/**
24
-	 * [checkForNullRepos description]
25
-	 * @param  array $jsonBody
26
-	 * @return boolean
27
-	 */
28
-	public static function checkForNullRepos($jsonBody);
23
+    /**
24
+     * [checkForNullRepos description]
25
+     * @param  array $jsonBody
26
+     * @return boolean
27
+     */
28
+    public static function checkForNullRepos($jsonBody);
29 29
 
30 30
 }
Please login to merge, or discard this patch.