{"action":"created","comment":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/comments/83361414","pull_request_review_id":4210737,"id":83361414,"diff_hunk":"@@ -115,7 +116,12 @@ private function getNodeTypeCount($nodeType)\n      */\n     private function getCommentCount()\n     {\n-        $entityQuery = $this->entityQuery->get('comment')->count();\n+        try {\n+            $entityQuery = $this->entityQuery->get('comment')->count();\n+        } catch (PluginNotFoundException $e) {\n+            return 0;","path":"src/Command/Site/StatisticsCommand.php","position":null,"original_position":16,"commit_id":"dde83b74f26cd542d6ed249b03dc0846d81e95af","original_commit_id":"01ab9da3d172c49450529258cabff62ebef34ab5","user":{"login":"jmolivas","id":366275,"avatar_url":"https://avatars.githubusercontent.com/u/366275?v=3","gravatar_id":"","url":"https://api.github.com/users/jmolivas","html_url":"https://github.com/jmolivas","followers_url":"https://api.github.com/users/jmolivas/followers","following_url":"https://api.github.com/users/jmolivas/following{/other_user}","gists_url":"https://api.github.com/users/jmolivas/gists{/gist_id}","starred_url":"https://api.github.com/users/jmolivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmolivas/subscriptions","organizations_url":"https://api.github.com/users/jmolivas/orgs","repos_url":"https://api.github.com/users/jmolivas/repos","events_url":"https://api.github.com/users/jmolivas/events{/privacy}","received_events_url":"https://api.github.com/users/jmolivas/received_events","type":"User","site_admin":false},"body":"My bad, but like this better value 0 instead of `PluginNotFoundException`","created_at":"2016-10-14T05:52:48Z","updated_at":"2016-10-14T05:52:48Z","html_url":"https://github.com/hechoendrupal/DrupalConsole/pull/2799#discussion_r83361414","pull_request_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/2799","_links":{"self":{"href":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/comments/83361414"},"html":{"href":"https://github.com/hechoendrupal/DrupalConsole/pull/2799#discussion_r83361414"},"pull_request":{"href":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/2799"}}},"pull_request":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/2799","id":88997703,"html_url":"https://github.com/hechoendrupal/DrupalConsole/pull/2799","diff_url":"https://github.com/hechoendrupal/DrupalConsole/pull/2799.diff","patch_url":"https://github.com/hechoendrupal/DrupalConsole/pull/2799.patch","issue_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/2799","number":2799,"state":"open","locked":false,"title":"[site:statistics] command fails when comment module is uninstalled. Fix #2744","user":{"login":"daydiff","id":2212845,"avatar_url":"https://avatars.githubusercontent.com/u/2212845?v=3","gravatar_id":"","url":"https://api.github.com/users/daydiff","html_url":"https://github.com/daydiff","followers_url":"https://api.github.com/users/daydiff/followers","following_url":"https://api.github.com/users/daydiff/following{/other_user}","gists_url":"https://api.github.com/users/daydiff/gists{/gist_id}","starred_url":"https://api.github.com/users/daydiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daydiff/subscriptions","organizations_url":"https://api.github.com/users/daydiff/orgs","repos_url":"https://api.github.com/users/daydiff/repos","events_url":"https://api.github.com/users/daydiff/events{/privacy}","received_events_url":"https://api.github.com/users/daydiff/received_events","type":"User","site_admin":false},"body":"fix failing command [site:statistics] when comment module is uninstalled","created_at":"2016-10-12T11:20:21Z","updated_at":"2016-10-14T05:52:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"188ed56340568d3acdf9d55cbb95ba20c7c63ce4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/2799/commits","review_comments_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/2799/comments","review_comment_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/2799/comments","statuses_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/statuses/dde83b74f26cd542d6ed249b03dc0846d81e95af","head":{"label":"daydiff:master","ref":"master","sha":"dde83b74f26cd542d6ed249b03dc0846d81e95af","user":{"login":"daydiff","id":2212845,"avatar_url":"https://avatars.githubusercontent.com/u/2212845?v=3","gravatar_id":"","url":"https://api.github.com/users/daydiff","html_url":"https://github.com/daydiff","followers_url":"https://api.github.com/users/daydiff/followers","following_url":"https://api.github.com/users/daydiff/following{/other_user}","gists_url":"https://api.github.com/users/daydiff/gists{/gist_id}","starred_url":"https://api.github.com/users/daydiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daydiff/subscriptions","organizations_url":"https://api.github.com/users/daydiff/orgs","repos_url":"https://api.github.com/users/daydiff/repos","events_url":"https://api.github.com/users/daydiff/events{/privacy}","received_events_url":"https://api.github.com/users/daydiff/received_events","type":"User","site_admin":false},"repo":{"id":70691685,"name":"DrupalConsole","full_name":"daydiff/DrupalConsole","owner":{"login":"daydiff","id":2212845,"avatar_url":"https://avatars.githubusercontent.com/u/2212845?v=3","gravatar_id":"","url":"https://api.github.com/users/daydiff","html_url":"https://github.com/daydiff","followers_url":"https://api.github.com/users/daydiff/followers","following_url":"https://api.github.com/users/daydiff/following{/other_user}","gists_url":"https://api.github.com/users/daydiff/gists{/gist_id}","starred_url":"https://api.github.com/users/daydiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daydiff/subscriptions","organizations_url":"https://api.github.com/users/daydiff/orgs","repos_url":"https://api.github.com/users/daydiff/repos","events_url":"https://api.github.com/users/daydiff/events{/privacy}","received_events_url":"https://api.github.com/users/daydiff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daydiff/DrupalConsole","description":"The new CLI for Drupal. A tool to generate boilerplate code, interact with and debug Drupal.","fork":true,"url":"https://api.github.com/repos/daydiff/DrupalConsole","forks_url":"https://api.github.com/repos/daydiff/DrupalConsole/forks","keys_url":"https://api.github.com/repos/daydiff/DrupalConsole/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daydiff/DrupalConsole/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daydiff/DrupalConsole/teams","hooks_url":"https://api.github.com/repos/daydiff/DrupalConsole/hooks","issue_events_url":"https://api.github.com/repos/daydiff/DrupalConsole/issues/events{/number}","events_url":"https://api.github.com/repos/daydiff/DrupalConsole/events","assignees_url":"https://api.github.com/repos/daydiff/DrupalConsole/assignees{/user}","branches_url":"https://api.github.com/repos/daydiff/DrupalConsole/branches{/branch}","tags_url":"https://api.github.com/repos/daydiff/DrupalConsole/tags","blobs_url":"https://api.github.com/repos/daydiff/DrupalConsole/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daydiff/DrupalConsole/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daydiff/DrupalConsole/git/refs{/sha}","trees_url":"https://api.github.com/repos/daydiff/DrupalConsole/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daydiff/DrupalConsole/statuses/{sha}","languages_url":"https://api.github.com/repos/daydiff/DrupalConsole/languages","stargazers_url":"https://api.github.com/repos/daydiff/DrupalConsole/stargazers","contributors_url":"https://api.github.com/repos/daydiff/DrupalConsole/contributors","subscribers_url":"https://api.github.com/repos/daydiff/DrupalConsole/subscribers","subscription_url":"https://api.github.com/repos/daydiff/DrupalConsole/subscription","commits_url":"https://api.github.com/repos/daydiff/DrupalConsole/commits{/sha}","git_commits_url":"https://api.github.com/repos/daydiff/DrupalConsole/git/commits{/sha}","comments_url":"https://api.github.com/repos/daydiff/DrupalConsole/comments{/number}","issue_comment_url":"https://api.github.com/repos/daydiff/DrupalConsole/issues/comments{/number}","contents_url":"https://api.github.com/repos/daydiff/DrupalConsole/contents/{+path}","compare_url":"https://api.github.com/repos/daydiff/DrupalConsole/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daydiff/DrupalConsole/merges","archive_url":"https://api.github.com/repos/daydiff/DrupalConsole/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daydiff/DrupalConsole/downloads","issues_url":"https://api.github.com/repos/daydiff/DrupalConsole/issues{/number}","pulls_url":"https://api.github.com/repos/daydiff/DrupalConsole/pulls{/number}","milestones_url":"https://api.github.com/repos/daydiff/DrupalConsole/milestones{/number}","notifications_url":"https://api.github.com/repos/daydiff/DrupalConsole/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daydiff/DrupalConsole/labels{/name}","releases_url":"https://api.github.com/repos/daydiff/DrupalConsole/releases{/id}","deployments_url":"https://api.github.com/repos/daydiff/DrupalConsole/deployments","created_at":"2016-10-12T11:05:39Z","updated_at":"2016-10-12T11:05:42Z","pushed_at":"2016-10-14T05:46:27Z","git_url":"git://github.com/daydiff/DrupalConsole.git","ssh_url":"git@github.com:daydiff/DrupalConsole.git","clone_url":"https://github.com/daydiff/DrupalConsole.git","svn_url":"https://github.com/daydiff/DrupalConsole","homepage":"http://drupalconsole.com","size":9283,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"hechoendrupal:master","ref":"master","sha":"a13279f7ae1b38068928280074de97006a13300a","user":{"login":"hechoendrupal","id":1341712,"avatar_url":"https://avatars.githubusercontent.com/u/1341712?v=3","gravatar_id":"","url":"https://api.github.com/users/hechoendrupal","html_url":"https://github.com/hechoendrupal","followers_url":"https://api.github.com/users/hechoendrupal/followers","following_url":"https://api.github.com/users/hechoendrupal/following{/other_user}","gists_url":"https://api.github.com/users/hechoendrupal/gists{/gist_id}","starred_url":"https://api.github.com/users/hechoendrupal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hechoendrupal/subscriptions","organizations_url":"https://api.github.com/users/hechoendrupal/orgs","repos_url":"https://api.github.com/users/hechoendrupal/repos","events_url":"https://api.github.com/users/hechoendrupal/events{/privacy}","received_events_url":"https://api.github.com/users/hechoendrupal/received_events","type":"Organization","site_admin":false},"repo":{"id":12452145,"name":"DrupalConsole","full_name":"hechoendrupal/DrupalConsole","owner":{"login":"hechoendrupal","id":1341712,"avatar_url":"https://avatars.githubusercontent.com/u/1341712?v=3","gravatar_id":"","url":"https://api.github.com/users/hechoendrupal","html_url":"https://github.com/hechoendrupal","followers_url":"https://api.github.com/users/hechoendrupal/followers","following_url":"https://api.github.com/users/hechoendrupal/following{/other_user}","gists_url":"https://api.github.com/users/hechoendrupal/gists{/gist_id}","starred_url":"https://api.github.com/users/hechoendrupal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hechoendrupal/subscriptions","organizations_url":"https://api.github.com/users/hechoendrupal/orgs","repos_url":"https://api.github.com/users/hechoendrupal/repos","events_url":"https://api.github.com/users/hechoendrupal/events{/privacy}","received_events_url":"https://api.github.com/users/hechoendrupal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hechoendrupal/DrupalConsole","description":"The new CLI for Drupal. A tool to generate boilerplate code, interact with and debug Drupal.","fork":false,"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole","forks_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/forks","keys_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/teams","hooks_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/hooks","issue_events_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/events{/number}","events_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/events","assignees_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/assignees{/user}","branches_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/branches{/branch}","tags_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/tags","blobs_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/git/refs{/sha}","trees_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/statuses/{sha}","languages_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/languages","stargazers_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/stargazers","contributors_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/contributors","subscribers_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/subscribers","subscription_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/subscription","commits_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/commits{/sha}","git_commits_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/git/commits{/sha}","comments_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/comments{/number}","issue_comment_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/comments{/number}","contents_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/contents/{+path}","compare_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/merges","archive_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/downloads","issues_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues{/number}","pulls_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls{/number}","milestones_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/milestones{/number}","notifications_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/labels{/name}","releases_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/releases{/id}","deployments_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/deployments","created_at":"2013-08-29T05:22:06Z","updated_at":"2016-10-13T11:08:15Z","pushed_at":"2016-10-14T05:46:28Z","git_url":"git://github.com/hechoendrupal/DrupalConsole.git","ssh_url":"git@github.com:hechoendrupal/DrupalConsole.git","clone_url":"https://github.com/hechoendrupal/DrupalConsole.git","svn_url":"https://github.com/hechoendrupal/DrupalConsole","homepage":"http://drupalconsole.com","size":11822,"stargazers_count":505,"watchers_count":505,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":374,"mirror_url":null,"open_issues_count":266,"forks":374,"open_issues":266,"watchers":505,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/2799"},"html":{"href":"https://github.com/hechoendrupal/DrupalConsole/pull/2799"},"issue":{"href":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/2799"},"comments":{"href":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/2799/comments"},"review_comments":{"href":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/2799/comments"},"review_comment":{"href":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/2799/commits"},"statuses":{"href":"https://api.github.com/repos/hechoendrupal/DrupalConsole/statuses/dde83b74f26cd542d6ed249b03dc0846d81e95af"}}}}
{"actor":{"display_login":"jmolivas"}}