tan-tan-kanarek / github-php-client

MIT License
184 stars 120 forks source link

How to list milestones #92

Closed ryandesign closed 8 years ago

ryandesign commented 8 years ago

I'm confused about how to get a list of milestones in a repository.

In GitHubIssuesLabels.php you have listAllLabelsForThisRepository() which lists the labels, and getSingleLabel() which gets a single label. This makes sense.

But in GitHubIssuesMilestones.php you have listMilestonesForRepository() which does not list milestones but rather gets a single milestone.

tan-tan-kanarek commented 8 years ago

Fixed in https://github.com/tan-tan-kanarek/github-php-client/pull/93.