{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/pulls/2","id":31656675,"html_url":"https://github.com/Zenify/DoctrineQueryStats/pull/2","diff_url":"https://github.com/Zenify/DoctrineQueryStats/pull/2.diff","patch_url":"https://github.com/Zenify/DoctrineQueryStats/pull/2.patch","issue_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/issues/2","number":2,"state":"open","locked":false,"title":"Fixed warning if there are no queries at all","user":{"login":"Andrewsville","id":506715,"avatar_url":"https://avatars.githubusercontent.com/u/506715?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrewsville","html_url":"https://github.com/Andrewsville","followers_url":"https://api.github.com/users/Andrewsville/followers","following_url":"https://api.github.com/users/Andrewsville/following{/other_user}","gists_url":"https://api.github.com/users/Andrewsville/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrewsville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrewsville/subscriptions","organizations_url":"https://api.github.com/users/Andrewsville/orgs","repos_url":"https://api.github.com/users/Andrewsville/repos","events_url":"https://api.github.com/users/Andrewsville/events{/privacy}","received_events_url":"https://api.github.com/users/Andrewsville/received_events","type":"User","site_admin":false},"body":"If there are no queries at all, both the ```getIdenticalQueries()``` and ```getSimilarQueries()``` trigger a warning that \"Invalid argument supplied for foreach()\" which is true because it's ```NULL``` by default.","created_at":"2015-03-20T22:17:26Z","updated_at":"2015-03-20T22:17:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/issues/2/comments","statuses_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/statuses/82d16f5c24f1eb2531e1eb29f0865ff780fb0ba7","head":{"label":"Andrewsville:master","ref":"master","sha":"82d16f5c24f1eb2531e1eb29f0865ff780fb0ba7","user":{"login":"Andrewsville","id":506715,"avatar_url":"https://avatars.githubusercontent.com/u/506715?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrewsville","html_url":"https://github.com/Andrewsville","followers_url":"https://api.github.com/users/Andrewsville/followers","following_url":"https://api.github.com/users/Andrewsville/following{/other_user}","gists_url":"https://api.github.com/users/Andrewsville/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrewsville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrewsville/subscriptions","organizations_url":"https://api.github.com/users/Andrewsville/orgs","repos_url":"https://api.github.com/users/Andrewsville/repos","events_url":"https://api.github.com/users/Andrewsville/events{/privacy}","received_events_url":"https://api.github.com/users/Andrewsville/received_events","type":"User","site_admin":false},"repo":{"id":32609545,"name":"DoctrineQueryStats","full_name":"Andrewsville/DoctrineQueryStats","owner":{"login":"Andrewsville","id":506715,"avatar_url":"https://avatars.githubusercontent.com/u/506715?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrewsville","html_url":"https://github.com/Andrewsville","followers_url":"https://api.github.com/users/Andrewsville/followers","following_url":"https://api.github.com/users/Andrewsville/following{/other_user}","gists_url":"https://api.github.com/users/Andrewsville/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrewsville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrewsville/subscriptions","organizations_url":"https://api.github.com/users/Andrewsville/orgs","repos_url":"https://api.github.com/users/Andrewsville/repos","events_url":"https://api.github.com/users/Andrewsville/events{/privacy}","received_events_url":"https://api.github.com/users/Andrewsville/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Andrewsville/DoctrineQueryStats","description":"Easy blame of duplicated queries; Nette implementation of","fork":true,"url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats","forks_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/forks","keys_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/teams","hooks_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/hooks","issue_events_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/issues/events{/number}","events_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/events","assignees_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/assignees{/user}","branches_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/branches{/branch}","tags_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/tags","blobs_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/git/refs{/sha}","trees_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/statuses/{sha}","languages_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/languages","stargazers_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/stargazers","contributors_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/contributors","subscribers_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/subscribers","subscription_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/subscription","commits_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/commits{/sha}","git_commits_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/git/commits{/sha}","comments_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/comments{/number}","issue_comment_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/issues/comments{/number}","contents_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/contents/{+path}","compare_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/merges","archive_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/downloads","issues_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/issues{/number}","pulls_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/pulls{/number}","milestones_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/milestones{/number}","notifications_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/labels{/name}","releases_url":"https://api.github.com/repos/Andrewsville/DoctrineQueryStats/releases{/id}","created_at":"2015-03-20T22:08:22Z","updated_at":"2015-03-20T22:13:44Z","pushed_at":"2015-03-20T22:13:44Z","git_url":"git://github.com/Andrewsville/DoctrineQueryStats.git","ssh_url":"git@github.com:Andrewsville/DoctrineQueryStats.git","clone_url":"https://github.com/Andrewsville/DoctrineQueryStats.git","svn_url":"https://github.com/Andrewsville/DoctrineQueryStats","homepage":"https://github.com/sensiolabs/SensioLabsDoctrineQueryStatisticsBundle","size":396,"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":"Zenify:master","ref":"master","sha":"1a272dfe8086a0624b34fe13515d23ee4ffe8cb0","user":{"login":"Zenify","id":6505203,"avatar_url":"https://avatars.githubusercontent.com/u/6505203?v=3","gravatar_id":"","url":"https://api.github.com/users/Zenify","html_url":"https://github.com/Zenify","followers_url":"https://api.github.com/users/Zenify/followers","following_url":"https://api.github.com/users/Zenify/following{/other_user}","gists_url":"https://api.github.com/users/Zenify/gists{/gist_id}","starred_url":"https://api.github.com/users/Zenify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zenify/subscriptions","organizations_url":"https://api.github.com/users/Zenify/orgs","repos_url":"https://api.github.com/users/Zenify/repos","events_url":"https://api.github.com/users/Zenify/events{/privacy}","received_events_url":"https://api.github.com/users/Zenify/received_events","type":"Organization","site_admin":false},"repo":{"id":26688184,"name":"DoctrineQueryStats","full_name":"Zenify/DoctrineQueryStats","owner":{"login":"Zenify","id":6505203,"avatar_url":"https://avatars.githubusercontent.com/u/6505203?v=3","gravatar_id":"","url":"https://api.github.com/users/Zenify","html_url":"https://github.com/Zenify","followers_url":"https://api.github.com/users/Zenify/followers","following_url":"https://api.github.com/users/Zenify/following{/other_user}","gists_url":"https://api.github.com/users/Zenify/gists{/gist_id}","starred_url":"https://api.github.com/users/Zenify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zenify/subscriptions","organizations_url":"https://api.github.com/users/Zenify/orgs","repos_url":"https://api.github.com/users/Zenify/repos","events_url":"https://api.github.com/users/Zenify/events{/privacy}","received_events_url":"https://api.github.com/users/Zenify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Zenify/DoctrineQueryStats","description":"Easy blame of duplicated queries; Nette implementation of","fork":false,"url":"https://api.github.com/repos/Zenify/DoctrineQueryStats","forks_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/forks","keys_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/teams","hooks_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/hooks","issue_events_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/issues/events{/number}","events_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/events","assignees_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/assignees{/user}","branches_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/branches{/branch}","tags_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/tags","blobs_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/statuses/{sha}","languages_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/languages","stargazers_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/stargazers","contributors_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/contributors","subscribers_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/subscribers","subscription_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/subscription","commits_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/contents/{+path}","compare_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/merges","archive_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/downloads","issues_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/issues{/number}","pulls_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/pulls{/number}","milestones_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/milestones{/number}","notifications_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/labels{/name}","releases_url":"https://api.github.com/repos/Zenify/DoctrineQueryStats/releases{/id}","created_at":"2014-11-15T17:48:50Z","updated_at":"2015-03-12T09:12:13Z","pushed_at":"2015-03-12T09:17:25Z","git_url":"git://github.com/Zenify/DoctrineQueryStats.git","ssh_url":"git@github.com:Zenify/DoctrineQueryStats.git","clone_url":"https://github.com/Zenify/DoctrineQueryStats.git","svn_url":"https://github.com/Zenify/DoctrineQueryStats","homepage":"https://github.com/sensiolabs/SensioLabsDoctrineQueryStatisticsBundle","size":396,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Zenify/DoctrineQueryStats/pulls/2"},"html":{"href":"https://github.com/Zenify/DoctrineQueryStats/pull/2"},"issue":{"href":"https://api.github.com/repos/Zenify/DoctrineQueryStats/issues/2"},"comments":{"href":"https://api.github.com/repos/Zenify/DoctrineQueryStats/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Zenify/DoctrineQueryStats/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Zenify/DoctrineQueryStats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Zenify/DoctrineQueryStats/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Zenify/DoctrineQueryStats/statuses/82d16f5c24f1eb2531e1eb29f0865ff780fb0ba7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}