{"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/talis/persona-php-client/pulls/14","id":37028259,"html_url":"https://github.com/talis/persona-php-client/pull/14","diff_url":"https://github.com/talis/persona-php-client/pull/14.diff","patch_url":"https://github.com/talis/persona-php-client/pull/14.patch","issue_url":"https://api.github.com/repos/talis/persona-php-client/issues/14","number":14,"state":"closed","locked":false,"title":"90% Added code to patch a users corresponding oauth client","user":{"login":"rgubby","id":5399177,"avatar_url":"https://avatars.githubusercontent.com/u/5399177?v=3","gravatar_id":"","url":"https://api.github.com/users/rgubby","html_url":"https://github.com/rgubby","followers_url":"https://api.github.com/users/rgubby/followers","following_url":"https://api.github.com/users/rgubby/following{/other_user}","gists_url":"https://api.github.com/users/rgubby/gists{/gist_id}","starred_url":"https://api.github.com/users/rgubby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgubby/subscriptions","organizations_url":"https://api.github.com/users/rgubby/orgs","repos_url":"https://api.github.com/users/rgubby/repos","events_url":"https://api.github.com/users/rgubby/events{/privacy}","received_events_url":"https://api.github.com/users/rgubby/received_events","type":"User","site_admin":false},"body":"Allows the ability to patch a users oauth client. This is primarily so that you can add/remove scopes from a user.\r\n\r\n#### Todo\r\n* ~~Add stricter checking around what can/cannot be updated in `$properties`~~\r\n* ~~~Unit tests~~~","created_at":"2015-06-05T12:52:28Z","updated_at":"2015-07-27T14:48:18Z","closed_at":"2015-07-27T14:48:18Z","merged_at":"2015-07-27T14:48:18Z","merge_commit_sha":"b7dc9abbcd11220165332a97658a3b4edff91e62","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/talis/persona-php-client/pulls/14/commits","review_comments_url":"https://api.github.com/repos/talis/persona-php-client/pulls/14/comments","review_comment_url":"https://api.github.com/repos/talis/persona-php-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/talis/persona-php-client/issues/14/comments","statuses_url":"https://api.github.com/repos/talis/persona-php-client/statuses/a246b675fbe8c419cc46d15c2dc0a9a3dcb19360","head":{"label":"talis:add-update-oauth-client","ref":"add-update-oauth-client","sha":"a246b675fbe8c419cc46d15c2dc0a9a3dcb19360","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":16688350,"name":"persona-php-client","full_name":"talis/persona-php-client","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/persona-php-client","description":"This is a php client library for Persona supporting generation, validation and caching of Oauth Tokens","fork":false,"url":"https://api.github.com/repos/talis/persona-php-client","forks_url":"https://api.github.com/repos/talis/persona-php-client/forks","keys_url":"https://api.github.com/repos/talis/persona-php-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/persona-php-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/persona-php-client/teams","hooks_url":"https://api.github.com/repos/talis/persona-php-client/hooks","issue_events_url":"https://api.github.com/repos/talis/persona-php-client/issues/events{/number}","events_url":"https://api.github.com/repos/talis/persona-php-client/events","assignees_url":"https://api.github.com/repos/talis/persona-php-client/assignees{/user}","branches_url":"https://api.github.com/repos/talis/persona-php-client/branches{/branch}","tags_url":"https://api.github.com/repos/talis/persona-php-client/tags","blobs_url":"https://api.github.com/repos/talis/persona-php-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/persona-php-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/persona-php-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/persona-php-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/persona-php-client/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/persona-php-client/languages","stargazers_url":"https://api.github.com/repos/talis/persona-php-client/stargazers","contributors_url":"https://api.github.com/repos/talis/persona-php-client/contributors","subscribers_url":"https://api.github.com/repos/talis/persona-php-client/subscribers","subscription_url":"https://api.github.com/repos/talis/persona-php-client/subscription","commits_url":"https://api.github.com/repos/talis/persona-php-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/persona-php-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/persona-php-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/persona-php-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/persona-php-client/contents/{+path}","compare_url":"https://api.github.com/repos/talis/persona-php-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/persona-php-client/merges","archive_url":"https://api.github.com/repos/talis/persona-php-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/persona-php-client/downloads","issues_url":"https://api.github.com/repos/talis/persona-php-client/issues{/number}","pulls_url":"https://api.github.com/repos/talis/persona-php-client/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/persona-php-client/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/persona-php-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/persona-php-client/labels{/name}","releases_url":"https://api.github.com/repos/talis/persona-php-client/releases{/id}","created_at":"2014-02-10T07:57:51Z","updated_at":"2015-04-28T09:52:25Z","pushed_at":"2015-07-27T14:48:19Z","git_url":"git://github.com/talis/persona-php-client.git","ssh_url":"git@github.com:talis/persona-php-client.git","clone_url":"https://github.com/talis/persona-php-client.git","svn_url":"https://github.com/talis/persona-php-client","homepage":null,"size":552,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"talis:master","ref":"master","sha":"76ba6d8943324667084550606a26dd3665dac23e","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":16688350,"name":"persona-php-client","full_name":"talis/persona-php-client","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/persona-php-client","description":"This is a php client library for Persona supporting generation, validation and caching of Oauth Tokens","fork":false,"url":"https://api.github.com/repos/talis/persona-php-client","forks_url":"https://api.github.com/repos/talis/persona-php-client/forks","keys_url":"https://api.github.com/repos/talis/persona-php-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/persona-php-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/persona-php-client/teams","hooks_url":"https://api.github.com/repos/talis/persona-php-client/hooks","issue_events_url":"https://api.github.com/repos/talis/persona-php-client/issues/events{/number}","events_url":"https://api.github.com/repos/talis/persona-php-client/events","assignees_url":"https://api.github.com/repos/talis/persona-php-client/assignees{/user}","branches_url":"https://api.github.com/repos/talis/persona-php-client/branches{/branch}","tags_url":"https://api.github.com/repos/talis/persona-php-client/tags","blobs_url":"https://api.github.com/repos/talis/persona-php-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/persona-php-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/persona-php-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/persona-php-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/persona-php-client/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/persona-php-client/languages","stargazers_url":"https://api.github.com/repos/talis/persona-php-client/stargazers","contributors_url":"https://api.github.com/repos/talis/persona-php-client/contributors","subscribers_url":"https://api.github.com/repos/talis/persona-php-client/subscribers","subscription_url":"https://api.github.com/repos/talis/persona-php-client/subscription","commits_url":"https://api.github.com/repos/talis/persona-php-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/persona-php-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/persona-php-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/persona-php-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/persona-php-client/contents/{+path}","compare_url":"https://api.github.com/repos/talis/persona-php-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/persona-php-client/merges","archive_url":"https://api.github.com/repos/talis/persona-php-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/persona-php-client/downloads","issues_url":"https://api.github.com/repos/talis/persona-php-client/issues{/number}","pulls_url":"https://api.github.com/repos/talis/persona-php-client/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/persona-php-client/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/persona-php-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/persona-php-client/labels{/name}","releases_url":"https://api.github.com/repos/talis/persona-php-client/releases{/id}","created_at":"2014-02-10T07:57:51Z","updated_at":"2015-04-28T09:52:25Z","pushed_at":"2015-07-27T14:48:19Z","git_url":"git://github.com/talis/persona-php-client.git","ssh_url":"git@github.com:talis/persona-php-client.git","clone_url":"https://github.com/talis/persona-php-client.git","svn_url":"https://github.com/talis/persona-php-client","homepage":null,"size":552,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/talis/persona-php-client/pulls/14"},"html":{"href":"https://github.com/talis/persona-php-client/pull/14"},"issue":{"href":"https://api.github.com/repos/talis/persona-php-client/issues/14"},"comments":{"href":"https://api.github.com/repos/talis/persona-php-client/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/talis/persona-php-client/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/talis/persona-php-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/talis/persona-php-client/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/talis/persona-php-client/statuses/a246b675fbe8c419cc46d15c2dc0a9a3dcb19360"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"robotrobot","id":933278,"avatar_url":"https://avatars.githubusercontent.com/u/933278?v=3","gravatar_id":"","url":"https://api.github.com/users/robotrobot","html_url":"https://github.com/robotrobot","followers_url":"https://api.github.com/users/robotrobot/followers","following_url":"https://api.github.com/users/robotrobot/following{/other_user}","gists_url":"https://api.github.com/users/robotrobot/gists{/gist_id}","starred_url":"https://api.github.com/users/robotrobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robotrobot/subscriptions","organizations_url":"https://api.github.com/users/robotrobot/orgs","repos_url":"https://api.github.com/users/robotrobot/repos","events_url":"https://api.github.com/users/robotrobot/events{/privacy}","received_events_url":"https://api.github.com/users/robotrobot/received_events","type":"User","site_admin":false},"comments":1,"review_comments":6,"commits":2,"additions":559,"deletions":1,"changed_files":4}}