forked from tan-tan-kanarek/github-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restyle fix the bug and add attributes for full users #4
Open
restyled-io
wants to merge
61
commits into
main
Choose a base branch
from
restyled/pull-3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. fix the mismatch to get collaborators 2. add some additional attributes to get the user information
fix the mismatch to get collaborators
New AuthType and the ability to set an oauth token - as per the following excerpt. Your code will have to take the steps necessary to get the OAUTH token an example can be seen [in this issue](tan-tan-kanarek#75) ``` $client = new GitHubClient(); // The following two methods are new additions $client->setAuthType( 'Oauth' ); $client->setOauthToken( $oauth_token ); ```
Added Oauth2 from a web application
to fix some issues for collaborators
Also track X-RateLimit-Reset
…narek-license-update Year and copyright holder
Added parent attribute for forked repositories
…-remove-label Add method to remove a label from an issue
Add getCommit() function for tags
Support for web-based Oauth
…tion Support page iteration
Added get and update actions
I tried to fill in some missing functions to create/update/delete a file, which is defined at https://developer.github.com/v3/repos/contents/.
Please refer to https://developer.github.com/v3/git/trees/. Before, it had ‘sha' and ‘url’ but didn’t have ‘tree’ array. so I add an array<GitHubTree> in GitHubTreeExtra to fetch the list of files.
# Conflicts: # client/services/GitHubReposContents.php
# Conflicts: # client/services/GitHubReposContents.php
to add two essential functions
edit comment added
…h /memberships/ one.
Organizations: Teams: Usages of deprecated /members/ API replaced with /memberships/ one.
Renamed auto-generated method
Improved pagination
…n-fix Improved pagination
…-issue-assignees Implemented assigning multiple assignees to an issue
Some PHP 7.2 compatibility
…date 🐛 Fix 400 Bad Request error on PATCH method
Changed expected return when adding collaborators
…ull-request removed multiple json_encoding in editAnIssue function
atomist
bot
added
auto-branch-delete:on-close
Delete branch when pull request gets closed
auto-merge-method:merge
Auto-merge with merge commit
auto-merge:on-approve
Auto-merge on review approvals
labels
Aug 27, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
auto-branch-delete:on-close
Delete branch when pull request gets closed
auto-merge:on-approve
Auto-merge on review approvals
auto-merge-method:merge
Auto-merge with merge commit
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A duplicate of #3 with additional commits that automatically address
incorrect style, created by Restyled.
Since the original Pull Request was opened as a fork in a contributor's
repository, we are unable to create a Pull Request branching from it with only
the style fixes.
The following Restylers made fixes:
To incorporate these changes, you can either:
Merge this Pull Request instead of the original, or
Ask your contributor to locally incorporate these commits and push them to
the original Pull Request
Expand for example instructions
NOTE: As work continues on the original Pull Request, this process will
re-run and update (force-push) this Pull Request with updated style fixes as
necessary. If the style is fixed manually at any point (i.e. this process finds
no fixes to make), this Pull Request will be closed automatically.
Sorry if this was unexpected. To disable it, see our documentation.