{"action":"opened","number":260,"pull_request":{"url":"https://api.github.com/repos/filp/whoops/pulls/260","id":28644240,"html_url":"https://github.com/filp/whoops/pull/260","diff_url":"https://github.com/filp/whoops/pull/260.diff","patch_url":"https://github.com/filp/whoops/pull/260.patch","issue_url":"https://api.github.com/repos/filp/whoops/issues/260","number":260,"state":"open","locked":false,"title":"register the handleError() only for E_* levels defined in error_reportin...","user":{"login":"staabm","id":120441,"avatar_url":"https://avatars.githubusercontent.com/u/120441?v=3","gravatar_id":"","url":"https://api.github.com/users/staabm","html_url":"https://github.com/staabm","followers_url":"https://api.github.com/users/staabm/followers","following_url":"https://api.github.com/users/staabm/following{/other_user}","gists_url":"https://api.github.com/users/staabm/gists{/gist_id}","starred_url":"https://api.github.com/users/staabm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staabm/subscriptions","organizations_url":"https://api.github.com/users/staabm/orgs","repos_url":"https://api.github.com/users/staabm/repos","events_url":"https://api.github.com/users/staabm/events{/privacy}","received_events_url":"https://api.github.com/users/staabm/received_events","type":"User","site_admin":false},"body":"...g()\r\n\r\nThis improves performance, because handleError() is not invoked for every E_* level, but only those we are interessted in. This removed a lot of unnecessary invocations which lead to a no-op as the error-level will be filtered nevertheless.","created_at":"2015-02-04T14:56:39Z","updated_at":"2015-02-04T14:56:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/filp/whoops/pulls/260/commits","review_comments_url":"https://api.github.com/repos/filp/whoops/pulls/260/comments","review_comment_url":"https://api.github.com/repos/filp/whoops/pulls/comments/{number}","comments_url":"https://api.github.com/repos/filp/whoops/issues/260/comments","statuses_url":"https://api.github.com/repos/filp/whoops/statuses/0750b2e8d6578e0bfedf551c8bf8cf283c10be8e","head":{"label":"staabm:patch-2","ref":"patch-2","sha":"0750b2e8d6578e0bfedf551c8bf8cf283c10be8e","user":{"login":"staabm","id":120441,"avatar_url":"https://avatars.githubusercontent.com/u/120441?v=3","gravatar_id":"","url":"https://api.github.com/users/staabm","html_url":"https://github.com/staabm","followers_url":"https://api.github.com/users/staabm/followers","following_url":"https://api.github.com/users/staabm/following{/other_user}","gists_url":"https://api.github.com/users/staabm/gists{/gist_id}","starred_url":"https://api.github.com/users/staabm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staabm/subscriptions","organizations_url":"https://api.github.com/users/staabm/orgs","repos_url":"https://api.github.com/users/staabm/repos","events_url":"https://api.github.com/users/staabm/events{/privacy}","received_events_url":"https://api.github.com/users/staabm/received_events","type":"User","site_admin":false},"repo":{"id":15398468,"name":"whoops","full_name":"staabm/whoops","owner":{"login":"staabm","id":120441,"avatar_url":"https://avatars.githubusercontent.com/u/120441?v=3","gravatar_id":"","url":"https://api.github.com/users/staabm","html_url":"https://github.com/staabm","followers_url":"https://api.github.com/users/staabm/followers","following_url":"https://api.github.com/users/staabm/following{/other_user}","gists_url":"https://api.github.com/users/staabm/gists{/gist_id}","starred_url":"https://api.github.com/users/staabm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staabm/subscriptions","organizations_url":"https://api.github.com/users/staabm/orgs","repos_url":"https://api.github.com/users/staabm/repos","events_url":"https://api.github.com/users/staabm/events{/privacy}","received_events_url":"https://api.github.com/users/staabm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/staabm/whoops","description":"php errors for cool kids ","fork":true,"url":"https://api.github.com/repos/staabm/whoops","forks_url":"https://api.github.com/repos/staabm/whoops/forks","keys_url":"https://api.github.com/repos/staabm/whoops/keys{/key_id}","collaborators_url":"https://api.github.com/repos/staabm/whoops/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/staabm/whoops/teams","hooks_url":"https://api.github.com/repos/staabm/whoops/hooks","issue_events_url":"https://api.github.com/repos/staabm/whoops/issues/events{/number}","events_url":"https://api.github.com/repos/staabm/whoops/events","assignees_url":"https://api.github.com/repos/staabm/whoops/assignees{/user}","branches_url":"https://api.github.com/repos/staabm/whoops/branches{/branch}","tags_url":"https://api.github.com/repos/staabm/whoops/tags","blobs_url":"https://api.github.com/repos/staabm/whoops/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/staabm/whoops/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/staabm/whoops/git/refs{/sha}","trees_url":"https://api.github.com/repos/staabm/whoops/git/trees{/sha}","statuses_url":"https://api.github.com/repos/staabm/whoops/statuses/{sha}","languages_url":"https://api.github.com/repos/staabm/whoops/languages","stargazers_url":"https://api.github.com/repos/staabm/whoops/stargazers","contributors_url":"https://api.github.com/repos/staabm/whoops/contributors","subscribers_url":"https://api.github.com/repos/staabm/whoops/subscribers","subscription_url":"https://api.github.com/repos/staabm/whoops/subscription","commits_url":"https://api.github.com/repos/staabm/whoops/commits{/sha}","git_commits_url":"https://api.github.com/repos/staabm/whoops/git/commits{/sha}","comments_url":"https://api.github.com/repos/staabm/whoops/comments{/number}","issue_comment_url":"https://api.github.com/repos/staabm/whoops/issues/comments/{number}","contents_url":"https://api.github.com/repos/staabm/whoops/contents/{+path}","compare_url":"https://api.github.com/repos/staabm/whoops/compare/{base}...{head}","merges_url":"https://api.github.com/repos/staabm/whoops/merges","archive_url":"https://api.github.com/repos/staabm/whoops/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/staabm/whoops/downloads","issues_url":"https://api.github.com/repos/staabm/whoops/issues{/number}","pulls_url":"https://api.github.com/repos/staabm/whoops/pulls{/number}","milestones_url":"https://api.github.com/repos/staabm/whoops/milestones{/number}","notifications_url":"https://api.github.com/repos/staabm/whoops/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/staabm/whoops/labels{/name}","releases_url":"https://api.github.com/repos/staabm/whoops/releases{/id}","created_at":"2013-12-23T15:34:41Z","updated_at":"2015-01-22T09:29:46Z","pushed_at":"2015-02-04T14:56:32Z","git_url":"git://github.com/staabm/whoops.git","ssh_url":"git@github.com:staabm/whoops.git","clone_url":"https://github.com/staabm/whoops.git","svn_url":"https://github.com/staabm/whoops","homepage":"http://filp.github.io/whoops/","size":1096,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"filp:master","ref":"master","sha":"01f84f8121a882b100cb153a9b92056439a34c5b","user":{"login":"filp","id":382538,"avatar_url":"https://avatars.githubusercontent.com/u/382538?v=3","gravatar_id":"","url":"https://api.github.com/users/filp","html_url":"https://github.com/filp","followers_url":"https://api.github.com/users/filp/followers","following_url":"https://api.github.com/users/filp/following{/other_user}","gists_url":"https://api.github.com/users/filp/gists{/gist_id}","starred_url":"https://api.github.com/users/filp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filp/subscriptions","organizations_url":"https://api.github.com/users/filp/orgs","repos_url":"https://api.github.com/users/filp/repos","events_url":"https://api.github.com/users/filp/events{/privacy}","received_events_url":"https://api.github.com/users/filp/received_events","type":"User","site_admin":false},"repo":{"id":8708394,"name":"whoops","full_name":"filp/whoops","owner":{"login":"filp","id":382538,"avatar_url":"https://avatars.githubusercontent.com/u/382538?v=3","gravatar_id":"","url":"https://api.github.com/users/filp","html_url":"https://github.com/filp","followers_url":"https://api.github.com/users/filp/followers","following_url":"https://api.github.com/users/filp/following{/other_user}","gists_url":"https://api.github.com/users/filp/gists{/gist_id}","starred_url":"https://api.github.com/users/filp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filp/subscriptions","organizations_url":"https://api.github.com/users/filp/orgs","repos_url":"https://api.github.com/users/filp/repos","events_url":"https://api.github.com/users/filp/events{/privacy}","received_events_url":"https://api.github.com/users/filp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/filp/whoops","description":"php errors for cool kids ","fork":false,"url":"https://api.github.com/repos/filp/whoops","forks_url":"https://api.github.com/repos/filp/whoops/forks","keys_url":"https://api.github.com/repos/filp/whoops/keys{/key_id}","collaborators_url":"https://api.github.com/repos/filp/whoops/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/filp/whoops/teams","hooks_url":"https://api.github.com/repos/filp/whoops/hooks","issue_events_url":"https://api.github.com/repos/filp/whoops/issues/events{/number}","events_url":"https://api.github.com/repos/filp/whoops/events","assignees_url":"https://api.github.com/repos/filp/whoops/assignees{/user}","branches_url":"https://api.github.com/repos/filp/whoops/branches{/branch}","tags_url":"https://api.github.com/repos/filp/whoops/tags","blobs_url":"https://api.github.com/repos/filp/whoops/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/filp/whoops/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/filp/whoops/git/refs{/sha}","trees_url":"https://api.github.com/repos/filp/whoops/git/trees{/sha}","statuses_url":"https://api.github.com/repos/filp/whoops/statuses/{sha}","languages_url":"https://api.github.com/repos/filp/whoops/languages","stargazers_url":"https://api.github.com/repos/filp/whoops/stargazers","contributors_url":"https://api.github.com/repos/filp/whoops/contributors","subscribers_url":"https://api.github.com/repos/filp/whoops/subscribers","subscription_url":"https://api.github.com/repos/filp/whoops/subscription","commits_url":"https://api.github.com/repos/filp/whoops/commits{/sha}","git_commits_url":"https://api.github.com/repos/filp/whoops/git/commits{/sha}","comments_url":"https://api.github.com/repos/filp/whoops/comments{/number}","issue_comment_url":"https://api.github.com/repos/filp/whoops/issues/comments/{number}","contents_url":"https://api.github.com/repos/filp/whoops/contents/{+path}","compare_url":"https://api.github.com/repos/filp/whoops/compare/{base}...{head}","merges_url":"https://api.github.com/repos/filp/whoops/merges","archive_url":"https://api.github.com/repos/filp/whoops/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/filp/whoops/downloads","issues_url":"https://api.github.com/repos/filp/whoops/issues{/number}","pulls_url":"https://api.github.com/repos/filp/whoops/pulls{/number}","milestones_url":"https://api.github.com/repos/filp/whoops/milestones{/number}","notifications_url":"https://api.github.com/repos/filp/whoops/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/filp/whoops/labels{/name}","releases_url":"https://api.github.com/repos/filp/whoops/releases{/id}","created_at":"2013-03-11T16:58:27Z","updated_at":"2015-02-04T03:11:36Z","pushed_at":"2015-01-22T15:11:12Z","git_url":"git://github.com/filp/whoops.git","ssh_url":"git@github.com:filp/whoops.git","clone_url":"https://github.com/filp/whoops.git","svn_url":"https://github.com/filp/whoops","homepage":"http://filp.github.io/whoops/","size":2524,"stargazers_count":1851,"watchers_count":1851,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":202,"mirror_url":null,"open_issues_count":17,"forks":202,"open_issues":17,"watchers":1851,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/filp/whoops/pulls/260"},"html":{"href":"https://github.com/filp/whoops/pull/260"},"issue":{"href":"https://api.github.com/repos/filp/whoops/issues/260"},"comments":{"href":"https://api.github.com/repos/filp/whoops/issues/260/comments"},"review_comments":{"href":"https://api.github.com/repos/filp/whoops/pulls/260/comments"},"review_comment":{"href":"https://api.github.com/repos/filp/whoops/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/filp/whoops/pulls/260/commits"},"statuses":{"href":"https://api.github.com/repos/filp/whoops/statuses/0750b2e8d6578e0bfedf551c8bf8cf283c10be8e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}