{"action":"closed","number":67,"pull_request":{"url":"https://api.github.com/repos/segmentio/analytics-php/pulls/67","id":64373832,"html_url":"https://github.com/segmentio/analytics-php/pull/67","diff_url":"https://github.com/segmentio/analytics-php/pull/67.diff","patch_url":"https://github.com/segmentio/analytics-php/pull/67.patch","issue_url":"https://api.github.com/repos/segmentio/analytics-php/issues/67","number":67,"state":"closed","locked":false,"title":"Change Consumer to protected instead of private","user":{"login":"lukevers","id":1558388,"avatar_url":"https://avatars.githubusercontent.com/u/1558388?v=3","gravatar_id":"","url":"https://api.github.com/users/lukevers","html_url":"https://github.com/lukevers","followers_url":"https://api.github.com/users/lukevers/followers","following_url":"https://api.github.com/users/lukevers/following{/other_user}","gists_url":"https://api.github.com/users/lukevers/gists{/gist_id}","starred_url":"https://api.github.com/users/lukevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukevers/subscriptions","organizations_url":"https://api.github.com/users/lukevers/orgs","repos_url":"https://api.github.com/users/lukevers/repos","events_url":"https://api.github.com/users/lukevers/events{/privacy}","received_events_url":"https://api.github.com/users/lukevers/received_events","type":"User","site_admin":false},"body":"I've been working on extending Segment_Client but came into problems when I realized that `$consumer` is set to private instead of protected.","created_at":"2016-03-28T20:49:20Z","updated_at":"2016-03-28T21:06:07Z","closed_at":"2016-03-28T21:06:07Z","merged_at":"2016-03-28T21:06:07Z","merge_commit_sha":"65e3051899b6aa68dba7d400669cbef079314fed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/segmentio/analytics-php/pulls/67/commits","review_comments_url":"https://api.github.com/repos/segmentio/analytics-php/pulls/67/comments","review_comment_url":"https://api.github.com/repos/segmentio/analytics-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/segmentio/analytics-php/issues/67/comments","statuses_url":"https://api.github.com/repos/segmentio/analytics-php/statuses/f3ec48164e775c1466e88b8848c16b85c015816a","head":{"label":"lukevers:client-consumer-patch","ref":"client-consumer-patch","sha":"f3ec48164e775c1466e88b8848c16b85c015816a","user":{"login":"lukevers","id":1558388,"avatar_url":"https://avatars.githubusercontent.com/u/1558388?v=3","gravatar_id":"","url":"https://api.github.com/users/lukevers","html_url":"https://github.com/lukevers","followers_url":"https://api.github.com/users/lukevers/followers","following_url":"https://api.github.com/users/lukevers/following{/other_user}","gists_url":"https://api.github.com/users/lukevers/gists{/gist_id}","starred_url":"https://api.github.com/users/lukevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukevers/subscriptions","organizations_url":"https://api.github.com/users/lukevers/orgs","repos_url":"https://api.github.com/users/lukevers/repos","events_url":"https://api.github.com/users/lukevers/events{/privacy}","received_events_url":"https://api.github.com/users/lukevers/received_events","type":"User","site_admin":false},"repo":{"id":54922520,"name":"analytics-php","full_name":"lukevers/analytics-php","owner":{"login":"lukevers","id":1558388,"avatar_url":"https://avatars.githubusercontent.com/u/1558388?v=3","gravatar_id":"","url":"https://api.github.com/users/lukevers","html_url":"https://github.com/lukevers","followers_url":"https://api.github.com/users/lukevers/followers","following_url":"https://api.github.com/users/lukevers/following{/other_user}","gists_url":"https://api.github.com/users/lukevers/gists{/gist_id}","starred_url":"https://api.github.com/users/lukevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukevers/subscriptions","organizations_url":"https://api.github.com/users/lukevers/orgs","repos_url":"https://api.github.com/users/lukevers/repos","events_url":"https://api.github.com/users/lukevers/events{/privacy}","received_events_url":"https://api.github.com/users/lukevers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukevers/analytics-php","description":"The hassle-free way to integrate analytics into any php application.","fork":true,"url":"https://api.github.com/repos/lukevers/analytics-php","forks_url":"https://api.github.com/repos/lukevers/analytics-php/forks","keys_url":"https://api.github.com/repos/lukevers/analytics-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukevers/analytics-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukevers/analytics-php/teams","hooks_url":"https://api.github.com/repos/lukevers/analytics-php/hooks","issue_events_url":"https://api.github.com/repos/lukevers/analytics-php/issues/events{/number}","events_url":"https://api.github.com/repos/lukevers/analytics-php/events","assignees_url":"https://api.github.com/repos/lukevers/analytics-php/assignees{/user}","branches_url":"https://api.github.com/repos/lukevers/analytics-php/branches{/branch}","tags_url":"https://api.github.com/repos/lukevers/analytics-php/tags","blobs_url":"https://api.github.com/repos/lukevers/analytics-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukevers/analytics-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukevers/analytics-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukevers/analytics-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukevers/analytics-php/statuses/{sha}","languages_url":"https://api.github.com/repos/lukevers/analytics-php/languages","stargazers_url":"https://api.github.com/repos/lukevers/analytics-php/stargazers","contributors_url":"https://api.github.com/repos/lukevers/analytics-php/contributors","subscribers_url":"https://api.github.com/repos/lukevers/analytics-php/subscribers","subscription_url":"https://api.github.com/repos/lukevers/analytics-php/subscription","commits_url":"https://api.github.com/repos/lukevers/analytics-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukevers/analytics-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukevers/analytics-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukevers/analytics-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukevers/analytics-php/contents/{+path}","compare_url":"https://api.github.com/repos/lukevers/analytics-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukevers/analytics-php/merges","archive_url":"https://api.github.com/repos/lukevers/analytics-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukevers/analytics-php/downloads","issues_url":"https://api.github.com/repos/lukevers/analytics-php/issues{/number}","pulls_url":"https://api.github.com/repos/lukevers/analytics-php/pulls{/number}","milestones_url":"https://api.github.com/repos/lukevers/analytics-php/milestones{/number}","notifications_url":"https://api.github.com/repos/lukevers/analytics-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukevers/analytics-php/labels{/name}","releases_url":"https://api.github.com/repos/lukevers/analytics-php/releases{/id}","deployments_url":"https://api.github.com/repos/lukevers/analytics-php/deployments","created_at":"2016-03-28T20:45:33Z","updated_at":"2016-03-28T20:45:34Z","pushed_at":"2016-03-28T20:48:26Z","git_url":"git://github.com/lukevers/analytics-php.git","ssh_url":"git@github.com:lukevers/analytics-php.git","clone_url":"https://github.com/lukevers/analytics-php.git","svn_url":"https://github.com/lukevers/analytics-php","homepage":"https://segment.com/libraries/php","size":164,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"segmentio:master","ref":"master","sha":"dcbda479fdb9282ab0317dfda0578601725bfa27","user":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"repo":{"id":7763939,"name":"analytics-php","full_name":"segmentio/analytics-php","owner":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/segmentio/analytics-php","description":"The hassle-free way to integrate analytics into any php application.","fork":false,"url":"https://api.github.com/repos/segmentio/analytics-php","forks_url":"https://api.github.com/repos/segmentio/analytics-php/forks","keys_url":"https://api.github.com/repos/segmentio/analytics-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segmentio/analytics-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segmentio/analytics-php/teams","hooks_url":"https://api.github.com/repos/segmentio/analytics-php/hooks","issue_events_url":"https://api.github.com/repos/segmentio/analytics-php/issues/events{/number}","events_url":"https://api.github.com/repos/segmentio/analytics-php/events","assignees_url":"https://api.github.com/repos/segmentio/analytics-php/assignees{/user}","branches_url":"https://api.github.com/repos/segmentio/analytics-php/branches{/branch}","tags_url":"https://api.github.com/repos/segmentio/analytics-php/tags","blobs_url":"https://api.github.com/repos/segmentio/analytics-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segmentio/analytics-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segmentio/analytics-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/segmentio/analytics-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segmentio/analytics-php/statuses/{sha}","languages_url":"https://api.github.com/repos/segmentio/analytics-php/languages","stargazers_url":"https://api.github.com/repos/segmentio/analytics-php/stargazers","contributors_url":"https://api.github.com/repos/segmentio/analytics-php/contributors","subscribers_url":"https://api.github.com/repos/segmentio/analytics-php/subscribers","subscription_url":"https://api.github.com/repos/segmentio/analytics-php/subscription","commits_url":"https://api.github.com/repos/segmentio/analytics-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/segmentio/analytics-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/segmentio/analytics-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/segmentio/analytics-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/segmentio/analytics-php/contents/{+path}","compare_url":"https://api.github.com/repos/segmentio/analytics-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segmentio/analytics-php/merges","archive_url":"https://api.github.com/repos/segmentio/analytics-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segmentio/analytics-php/downloads","issues_url":"https://api.github.com/repos/segmentio/analytics-php/issues{/number}","pulls_url":"https://api.github.com/repos/segmentio/analytics-php/pulls{/number}","milestones_url":"https://api.github.com/repos/segmentio/analytics-php/milestones{/number}","notifications_url":"https://api.github.com/repos/segmentio/analytics-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segmentio/analytics-php/labels{/name}","releases_url":"https://api.github.com/repos/segmentio/analytics-php/releases{/id}","deployments_url":"https://api.github.com/repos/segmentio/analytics-php/deployments","created_at":"2013-01-22T23:41:14Z","updated_at":"2016-03-28T17:38:57Z","pushed_at":"2016-03-28T21:06:07Z","git_url":"git://github.com/segmentio/analytics-php.git","ssh_url":"git@github.com:segmentio/analytics-php.git","clone_url":"https://github.com/segmentio/analytics-php.git","svn_url":"https://github.com/segmentio/analytics-php","homepage":"https://segment.com/libraries/php","size":182,"stargazers_count":116,"watchers_count":116,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":14,"forks":66,"open_issues":14,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/segmentio/analytics-php/pulls/67"},"html":{"href":"https://github.com/segmentio/analytics-php/pull/67"},"issue":{"href":"https://api.github.com/repos/segmentio/analytics-php/issues/67"},"comments":{"href":"https://api.github.com/repos/segmentio/analytics-php/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/segmentio/analytics-php/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/segmentio/analytics-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/segmentio/analytics-php/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/segmentio/analytics-php/statuses/f3ec48164e775c1466e88b8848c16b85c015816a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"calvinfo","id":487539,"avatar_url":"https://avatars.githubusercontent.com/u/487539?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinfo","html_url":"https://github.com/calvinfo","followers_url":"https://api.github.com/users/calvinfo/followers","following_url":"https://api.github.com/users/calvinfo/following{/other_user}","gists_url":"https://api.github.com/users/calvinfo/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinfo/subscriptions","organizations_url":"https://api.github.com/users/calvinfo/orgs","repos_url":"https://api.github.com/users/calvinfo/repos","events_url":"https://api.github.com/users/calvinfo/events{/privacy}","received_events_url":"https://api.github.com/users/calvinfo/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}