@@ -33,14 +33,14 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | public function __construct($username) |
| 35 | 35 | { |
| 36 | - $this->username = $username; |
|
| 36 | + $this->username = $username; |
|
| 37 | 37 | |
| 38 | 38 | $num_args = (int) func_num_args(); // get number of arguments passed to |
| 39 | 39 | |
| 40 | - if ($num_args == 0 || $num_args > 1) { |
|
| 40 | + if ($num_args == 0 || $num_args > 1) { |
|
| 41 | 41 | throw ArgumentCheckException::NullOfOverflowArgumentException("Argument missing: only one argument is allowed"); |
| 42 | 42 | } |
| 43 | -<<<<<<< HEAD |
|
| 43 | +<< << <<< HEAD |
|
| 44 | 44 | |
| 45 | 45 | ======= |
| 46 | 46 | |
@@ -113,8 +113,4 @@ discard block |
||
| 113 | 113 | */ |
| 114 | 114 | public function checkNullUsernameException() |
| 115 | 115 | { |
| 116 | - if ($this->checkEmptyGithubUsername($this->username)) { |
|
| 117 | - throw EvangelistStatusException::createEvangelistStatusException("Username is Empty, please provide a GitHub valid username"); |
|
| 118 | - } |
|
| 119 | - } |
|
| 120 | -} |
|
| 116 | + if ($this->checkEmptyGithubUsername($this->username |
|
| 121 | 117 | \ No newline at end of file |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public static function determineEvangelistLevel($noOfRepo) |
| 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"; |
@@ -45,8 +45,4 @@ discard block |
||
| 45 | 45 | return true; |
| 46 | 46 | } |
| 47 | 47 | } |
| 48 | -<<<<<<< HEAD |
|
| 49 | - |
|
| 50 | -======= |
|
| 51 | ->>>>>>> 5ae30be3b2ebb67e6de8fe512888cf961febb1ad |
|
| 52 | - } |
|
| 48 | +<< << <<< HEAD |
|