| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 18 | public static function create($githubMilestoneStateTest)  | 
            ||
| 19 |     { | 
            ||
| 20 |         if ($githubMilestoneStateTest === 'open') { | 
            ||
| 21 | return new GithubMilestoneOpenState();  | 
            ||
| 22 |         } elseif ($githubMilestoneStateTest === 'closed') { | 
            ||
| 23 | return new GithubMilestoneClosedState();  | 
            ||
| 24 | }  | 
            ||
| 25 | |||
| 26 | throw new Exception($githubMilestoneStateTest.' is not recognized issue state');  | 
            ||
| 27 | }  | 
            ||
| 28 | }  | 
            ||
| 29 |