@@ -22,7 +22,7 @@ |
||
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"; |
@@ -35,7 +35,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |