GitHub PullRequestEvent at 2014-06-27 08:00:36
Repository: pickle
Actor: Hywan
Payload: {"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/pickle/pulls/41","id":17690447,"html_url":"https://github.com/FriendsOfPHP/pickle/pull/41","diff_url":"https://github.com/FriendsOfPHP/pickle/pull/41.diff","patch_url":"https://github.com/FriendsOfPHP/pickle/pull/41.patch","issue_url":"https://api.github.com/repos/FriendsOfPHP/pickle/issues/41","number":41,"state":"open","title":"Avoid a potential null value","user":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?","gravatar_id":"c9eaecd38c8fa34ce638520112017f9a","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"body":"If `$option->type` is neither set to `enable` or `disable`, we will have a null value for `$t`. Also, I have renamed some variables for a better readability.","created_at":"2014-06-27T08:00:36Z","updated_at":"2014-06-27T08:00:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfPHP/pickle/pulls/41/commits","review_comments_url":"https://api.github.com/repos/FriendsOfPHP/pickle/pulls/41/comments","review_comment_url":"https://api.github.com/repos/FriendsOfPHP/pickle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/FriendsOfPHP/pickle/issues/41/comments","statuses_url":"https://api.github.com/repos/FriendsOfPHP/pickle/statuses/d2291a8adcecf76df86582fba5157186f22f4bc0","head":{"label":"Hywan:configure","ref":"configure","sha":"d2291a8adcecf76df86582fba5157186f22f4bc0","user":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?","gravatar_id":"c9eaecd38c8fa34ce638520112017f9a","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"repo":{"id":20924407,"name":"pickle","full_name":"Hywan/pickle","owner":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?","gravatar_id":"c9eaecd38c8fa34ce638520112017f9a","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hywan/pickle","description":"PHP Extension installer","fork":true,"url":"https://api.github.com/repos/Hywan/pickle","forks_url":"https://api.github.com/repos/Hywan/pickle/forks","keys_url":"https://api.github.com/repos/Hywan/pickle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hywan/pickle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hywan/pickle/teams","hooks_url":"https://api.github.com/repos/Hywan/pickle/hooks","issue_events_url":"https://api.github.com/repos/Hywan/pickle/issues/events{/number}","events_url":"https://api.github.com/repos/Hywan/pickle/events","assignees_url":"https://api.github.com/repos/Hywan/pickle/assignees{/user}","branches_url":"https://api.github.com/repos/Hywan/pickle/branches{/branch}","tags_url":"https://api.github.com/repos/Hywan/pickle/tags","blobs_url":"https://api.github.com/repos/Hywan/pickle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hywan/pickle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hywan/pickle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hywan/pickle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hywan/pickle/statuses/{sha}","languages_url":"https://api.github.com/repos/Hywan/pickle/languages","stargazers_url":"https://api.github.com/repos/Hywan/pickle/stargazers","contributors_url":"https://api.github.com/repos/Hywan/pickle/contributors","subscribers_url":"https://api.github.com/repos/Hywan/pickle/subscribers","subscription_url":"https://api.github.com/repos/Hywan/pickle/subscription","commits_url":"https://api.github.com/repos/Hywan/pickle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hywan/pickle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hywan/pickle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hywan/pickle/issues/comments/{number}","contents_url":"https://api.github.com/repos/Hywan/pickle/contents/{+path}","compare_url":"https://api.github.com/repos/Hywan/pickle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hywan/pickle/merges","archive_url":"https://api.github.com/repos/Hywan/pickle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hywan/pickle/downloads","issues_url":"https://api.github.com/repos/Hywan/pickle/issues{/number}","pulls_url":"https://api.github.com/repos/Hywan/pickle/pulls{/number}","milestones_url":"https://api.github.com/repos/Hywan/pickle/milestones{/number}","notifications_url":"https://api.github.com/repos/Hywan/pickle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hywan/pickle/labels{/name}","releases_url":"https://api.github.com/repos/Hywan/pickle/releases{/id}","created_at":"2014-06-17T13:30:34Z","updated_at":"2014-06-25T11:49:33Z","pushed_at":"2014-06-27T07:58:08Z","git_url":"git://github.com/Hywan/pickle.git","ssh_url":"git@github.com:Hywan/pickle.git","clone_url":"https://github.com/Hywan/pickle.git","svn_url":"https://github.com/Hywan/pickle","homepage":null,"size":399,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FriendsOfPHP:master","ref":"master","sha":"e185a1e061bb5ffa491b6a6ee2812716fd312d3b","user":{"login":"FriendsOfPHP","id":5947812,"avatar_url":"https://avatars.githubusercontent.com/u/5947812?","gravatar_id":"6564396140cfb5e02b4ead00088901d1","url":"https://api.github.com/users/FriendsOfPHP","html_url":"https://github.com/FriendsOfPHP","followers_url":"https://api.github.com/users/FriendsOfPHP/followers","following_url":"https://api.github.com/users/FriendsOfPHP/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfPHP/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfPHP/orgs","repos_url":"https://api.github.com/users/FriendsOfPHP/repos","events_url":"https://api.github.com/users/FriendsOfPHP/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfPHP/received_events","type":"Organization","site_admin":false},"repo":{"id":20719020,"name":"pickle","full_name":"FriendsOfPHP/pickle","owner":{"login":"FriendsOfPHP","id":5947812,"avatar_url":"https://avatars.githubusercontent.com/u/5947812?","gravatar_id":"6564396140cfb5e02b4ead00088901d1","url":"https://api.github.com/users/FriendsOfPHP","html_url":"https://github.com/FriendsOfPHP","followers_url":"https://api.github.com/users/FriendsOfPHP/followers","following_url":"https://api.github.com/users/FriendsOfPHP/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfPHP/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfPHP/orgs","repos_url":"https://api.github.com/users/FriendsOfPHP/repos","events_url":"https://api.github.com/users/FriendsOfPHP/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfPHP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfPHP/pickle","description":"PHP Extension installer","fork":false,"url":"https://api.github.com/repos/FriendsOfPHP/pickle","forks_url":"https://api.github.com/repos/FriendsOfPHP/pickle/forks","keys_url":"https://api.github.com/repos/FriendsOfPHP/pickle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfPHP/pickle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfPHP/pickle/teams","hooks_url":"https://api.github.com/repos/FriendsOfPHP/pickle/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfPHP/pickle/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfPHP/pickle/events","assignees_url":"https://api.github.com/repos/FriendsOfPHP/pickle/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfPHP/pickle/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfPHP/pickle/tags","blobs_url":"https://api.github.com/repos/FriendsOfPHP/pickle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfPHP/pickle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfPHP/pickle/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfPHP/pickle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfPHP/pickle/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfPHP/pickle/languages","stargazers_url":"https://api.github.com/repos/FriendsOfPHP/pickle/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfPHP/pickle/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfPHP/pickle/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfPHP/pickle/subscription","commits_url":"https://api.github.com/repos/FriendsOfPHP/pickle/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfPHP/pickle/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfPHP/pickle/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfPHP/pickle/issues/comments/{number}","contents_url":"https://api.github.com/repos/FriendsOfPHP/pickle/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfPHP/pickle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfPHP/pickle/merges","archive_url":"https://api.github.com/repos/FriendsOfPHP/pickle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfPHP/pickle/downloads","issues_url":"https://api.github.com/repos/FriendsOfPHP/pickle/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfPHP/pickle/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfPHP/pickle/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfPHP/pickle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfPHP/pickle/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfPHP/pickle/releases{/id}","created_at":"2014-06-11T09:04:51Z","updated_at":"2014-06-26T12:31:37Z","pushed_at":"2014-06-26T23:21:44Z","git_url":"git://github.com/FriendsOfPHP/pickle.git","ssh_url":"git@github.com:FriendsOfPHP/pickle.git","clone_url":"https://github.com/FriendsOfPHP/pickle.git","svn_url":"https://github.com/FriendsOfPHP/pickle","homepage":null,"size":1053,"stargazers_count":62,"watchers_count":62,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/pickle/pulls/41"},"html":{"href":"https://github.com/FriendsOfPHP/pickle/pull/41"},"issue":{"href":"https://api.github.com/repos/FriendsOfPHP/pickle/issues/41"},"comments":{"href":"https://api.github.com/repos/FriendsOfPHP/pickle/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfPHP/pickle/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfPHP/pickle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfPHP/pickle/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfPHP/pickle/statuses/d2291a8adcecf76df86582fba5157186f22f4bc0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":6,"changed_files":1}}