php-github-api
php-github-api copied to clipboard
A simple PHP GitHub API client, Object Oriented, tested and documented.
If I understand correctly, the method for this api https://docs.github.com/en/rest/repos/repos#list-repositories-for-a-user
When using etags, the reply from github may be empty and the underlying APIs will return an empty string. We need to flip those to empty arrays. e.g.: ```php $github_builder...
This change adds a new method to rerequest a check run (see also https://docs.github.com/en/rest/checks/runs?apiVersion=2022-11-28#rerequest-a-check-run).
It is sometimes required to identify any branches of which a given commit ID is a member of. GitHub API provides such a method as documented here: https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#list-branches-for-head-commit Propose adding...
[Merge a pull request API](https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#merge-a-pull-request) endpoint accepts `sha` property, but it's optional. This PR makes the `$sha` property optional without introducing breaking changes
PHP 7 is not supported anymore. Change minimum supported version to PHP 8.0 to remove dependency on polyfill.
For the testing purposes I need to change `https://api.github.com` host to the mock API url, but there is no way to do it. All auto-tests should go to the mock...
Tato změna přidává podporu custom properties. [https://docs.github.com/en/rest/repos/custom-properties](https://docs.github.com/en/rest/repos/custom-properties)