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 ( 9f730d...f9604e )
by Temitope
03:37 queued 01:12
created
src/Interface/EvangelistStatusInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,14 +24,14 @@
 block discarded – undo
24 24
      * This method returns a string depending on number of user repo on Github
25 25
      */
26 26
     
27
-	public function getStatus();
27
+    public function getStatus();
28 28
 
29
-	/**
29
+    /**
30 30
      * 
31 31
      * This method returns number of the user repo on Github
32 32
      */
33 33
     
34
-	public function getNumberOfRepos();
34
+    public function getNumberOfRepos();
35 35
 
36 36
 
37 37
     /**
Please login to merge, or discard this patch.
src/Ranking/EvangelistStatusRanking.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -10,11 +10,11 @@  discard block
 block discarded – undo
10 10
  * @license  <https://opensource.org/license/MIT> MIT
11 11
  */
12 12
 
13
- use Laztopaz\OpenSourceEvangelistStatus\EvangelistStatusRankingInterface;
13
+    use Laztopaz\OpenSourceEvangelistStatus\EvangelistStatusRankingInterface;
14 14
 
15 15
 
16
- class EvangelistStatusRanking implements EvangelistStatusRankingInterface
17
- {
16
+    class EvangelistStatusRanking implements EvangelistStatusRankingInterface
17
+    {
18 18
 
19 19
     public function determineEvangelistLevel($noOfRepo)
20 20
     {
@@ -22,17 +22,17 @@  discard block
 block discarded – undo
22 22
             return false;
23 23
         }
24 24
 
25
-    	if ($noOfRepo >= 5 && $noOfRepo<= 10) {
26
-    		$evangelistTypeMessage = "Damn It!!! Please make the world better, Oh Ye Prodigal Junior Evangelist";
27
-    	} else if ($noOfRepo >= 11 && $noOfRepo <= 20) {
28
-    		$evangelistTypeMessage = "Keep Up The Good Work, I crown you Associate Evangelist";
29
-    	} else if ($noOfRepo >= 21) {
30
-    		$evangelistTypeMessage = "Yeah, I crown you Senior Evangelist. Thanks for making the world a better place";
31
-    	} else {
25
+        if ($noOfRepo >= 5 && $noOfRepo<= 10) {
26
+            $evangelistTypeMessage = "Damn It!!! Please make the world better, Oh Ye Prodigal Junior Evangelist";
27
+        } else if ($noOfRepo >= 11 && $noOfRepo <= 20) {
28
+            $evangelistTypeMessage = "Keep Up The Good Work, I crown you Associate Evangelist";
29
+        } else if ($noOfRepo >= 21) {
30
+            $evangelistTypeMessage = "Yeah, I crown you Senior Evangelist. Thanks for making the world a better place";
31
+        } else {
32 32
             $evangelistTypeMessage = "Fuck Off!!! Please make the world better, Oh Ye Lazy Evangelist";
33 33
         }
34 34
 
35
-    	return $evangelistTypeMessage;
35
+        return $evangelistTypeMessage;
36 36
     }
37 37
 
38
- }
39 38
\ No newline at end of file
39
+    }
40 40
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
             return false;
23 23
         }
24 24
 
25
-    	if ($noOfRepo >= 5 && $noOfRepo<= 10) {
25
+    	if ($noOfRepo >= 5 && $noOfRepo <= 10) {
26 26
     		$evangelistTypeMessage = "Damn It!!! Please make the world better, Oh Ye Prodigal Junior Evangelist";
27 27
     	} else if ($noOfRepo >= 11 && $noOfRepo <= 20) {
28 28
     		$evangelistTypeMessage = "Keep Up The Good Work, I crown you Associate Evangelist";
Please login to merge, or discard this patch.
src/EvangelistStatus.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,12 +35,12 @@  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
         }
42 42
 
43
-        $this->username                         = $username;
43
+        $this->username = $username;
44 44
 
45 45
         $this->checkNullUsernameException();
46 46
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public function getGitApiData()
62 62
     {
63
-        $this->response = $this->guzzleClient->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->clientId .'&client_secret='.$this->clientSecret);
63
+        $this->response = $this->guzzleClient->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->clientId.'&client_secret='.$this->clientSecret);
64 64
         return $this->response->getBody();
65 65
     }
66 66
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         $githubJson = json_decode($this->githubResponse, true);
75 75
 
76
-        if(EvangelistStatusRanking::checkForNullRepos($githubJson))
76
+        if (EvangelistStatusRanking::checkForNullRepos($githubJson))
77 77
         {
78 78
             throw NullNoOfReposException::createNullReposException("Empty GitHub repository");
79 79
         }
Please login to merge, or discard this patch.
src/Interface/EvangelistStatusRankingInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@
 block discarded – undo
18 18
      * @param void
19 19
      * @return void
20 20
      */
21
-     public static function determineEvangelistLevel($noOfRepositories);
21
+        public static function determineEvangelistLevel($noOfRepositories);
22 22
      
23
-     /**
24
-      * This method checkForNullRepos 
25
-      * @param  array $jsonBody
26
-      * @return boolean
27
-      */
28
-     public static function checkForNullRepos($jsonBody);
23
+        /**
24
+         * This method checkForNullRepos 
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.
src/Exceptions/ArgumentCheckException.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     public static function NullOfOverflowArgumentException($exception)
24 24
     {
25
-	return new static($exception);
25
+    return new static($exception);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
src/Exceptions/NullNoOfReposException.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     public static function NullOfOverflowArgumentException($exception)
24 24
     {
25
-	return new static($exception);
25
+    return new static($exception);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
src/Exceptions/EvangelistStatusException.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     public static function createEvangelistStatusException($message)
24 24
     {
25
-	return new static($message);
25
+    return new static($message);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.