@@ -28,24 +28,24 @@ |
||
| 28 | 28 | |
| 29 | 29 | public function determineEvangelistLevel($noOfRepo) |
| 30 | 30 | { |
| 31 | - if($noOfRepo == "") |
|
| 31 | + if ($noOfRepo == "") |
|
| 32 | 32 | { |
| 33 | 33 | return false; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - if($noOfRepo >= 5 && $noOfRepo<= 10){ |
|
| 36 | + if ($noOfRepo >= 5 && $noOfRepo <= 10) { |
|
| 37 | 37 | |
| 38 | 38 | $this->evangelistTypeMessage = "Damn It!!! Please make the world better, Oh Ye Prodigal Junior Evangelist"; |
| 39 | 39 | |
| 40 | - } else if($noOfRepo >= 11 && $noOfRepo <= 20){ |
|
| 40 | + } else if ($noOfRepo >= 11 && $noOfRepo <= 20) { |
|
| 41 | 41 | |
| 42 | 42 | $this->evangelistTypeMessage = "Keep Up The Good Work, I crown you Associate Evangelist"; |
| 43 | 43 | |
| 44 | - } else if($noOfRepo >= 21){ |
|
| 44 | + } else if ($noOfRepo >= 21) { |
|
| 45 | 45 | |
| 46 | 46 | $this->evangelistTypeMessage = "Yeah, I crown you Senior Evangelist. Thanks for making the world a better place"; |
| 47 | 47 | |
| 48 | - }else{ |
|
| 48 | + } else { |
|
| 49 | 49 | |
| 50 | 50 | $this->evangelistTypeMessage = "Fuck Off!!! Please make the world better, Oh Ye Lazy Evangelist"; |
| 51 | 51 | } |
@@ -31,13 +31,13 @@ |
||
| 31 | 31 | { |
| 32 | 32 | $this->numberOfRepo = $noOfRepo; |
| 33 | 33 | |
| 34 | - if($this->numberOfRepo >= 5 && $this->numberOfRepo<= 10){ |
|
| 34 | + if ($this->numberOfRepo >= 5 && $this->numberOfRepo <= 10) { |
|
| 35 | 35 | $this->evangelistTypeMessage = "Damn It!!! Please make the world better, Oh Ye Prodigal Junior Evangelist"; |
| 36 | - } else if($this->numberOfRepo >= 11 && $this->numberOfRepo <= 20){ |
|
| 36 | + } else if ($this->numberOfRepo >= 11 && $this->numberOfRepo <= 20) { |
|
| 37 | 37 | $this->evangelistTypeMessage = "Keep Up The Good Work, I crown you Associate Evangelist"; |
| 38 | - } else if($this->numberOfRepo >= 21){ |
|
| 38 | + } else if ($this->numberOfRepo >= 21) { |
|
| 39 | 39 | $this->evangelistTypeMessage = "Yeah, I crown you Senior Evangelist. Thanks for making the world a better place"; |
| 40 | - }else{ |
|
| 40 | + } else { |
|
| 41 | 41 | $this->evangelistTypeMessage = "Fuck Off!!! Please make the world better, Oh Ye Lazy Evangelist"; |
| 42 | 42 | } |
| 43 | 43 | return $this->evangelistTypeMessage; |
@@ -53,7 +53,7 @@ |
||
| 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) |