php-github-api
php-github-api copied to clipboard
Merging a pull request (Not found in the docs)
I see that merging a pull request is possible but I couldn't find it in the docs in this repo. Is the document not updated or the feature itself is not available?
https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button
The docs entry is indeed missing, but the api code covers this method https://github.com/KnpLabs/php-github-api/blob/5eb55ce410e499b505f590aa20492e14fcf252f6/lib/Github/Api/PullRequest.php#L181-L202
If you can open a pr and add a docs entry for it would be appreciated. Thanks!