@@ -56,10 +56,10 @@ |
||
| 56 | 56 | |
| 57 | 57 | $this->exception_check_invalid_username->checkEmptyGithubUsername($this->username); |
| 58 | 58 | |
| 59 | - $this->response = $this->guzzle_client->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->client_id .'&client_secret='.$this->client_secret); |
|
| 59 | + $this->response = $this->guzzle_client->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->client_id.'&client_secret='.$this->client_secret); |
|
| 60 | 60 | return $this->response->getBody(); |
| 61 | 61 | } |
| 62 | - catch (Exception $e){ |
|
| 62 | + catch (Exception $e) { |
|
| 63 | 63 | |
| 64 | 64 | echo 'Caught Exception '.$e->getMessage(); |
| 65 | 65 | } |
@@ -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"; |