| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | 1 | private function getMilestoneIssuesUrl(string $user, string $repository, string $milestone) : string |
|
| 56 | { |
||
| 57 | 1 | $milestoneQuery = str_replace('"', '\"', $milestone); |
|
| 58 | |||
| 59 | 1 | $query = urlencode(sprintf( |
|
| 60 | 1 | 'milestone:"%s" repo:%s/%s state:closed', |
|
| 61 | 1 | $milestoneQuery, |
|
| 62 | 1 | $user, |
|
| 63 | 1 | $repository |
|
| 64 | )); |
||
| 65 | |||
| 66 | 1 | return sprintf('%s/search/issues?q=%s', self::ROOT_URL, $query); |
|
| 67 | } |
||
| 69 |