{"action":"created","comment":{"url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/comments/46747281","id":46747281,"diff_hunk":"@@ -90,6 +91,10 @@ protected function execute(InputInterface $input, OutputInterface $output) : int\n         $output->writeln(\"The following unknown symbols were found:\");\n         foreach ($unknownSymbols as $unknownSymbol) {\n             $output->writeln(\"  \" . $unknownSymbol);\n+            $suggester = new DependencySuggester();\n+            foreach($suggester($unknownSymbol) as $suggestion) {","path":"src/ComposerRequireChecker/Cli/CheckCommand.php","position":13,"original_position":13,"commit_id":"5c0385542fe9b38504b1f7edbe23676269c79cd9","original_commit_id":"5c0385542fe9b38504b1f7edbe23676269c79cd9","user":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"body":"http://symfony.com/doc/current/components/console/helpers/tablehelper.html","created_at":"2015-12-05T00:01:33Z","updated_at":"2015-12-05T00:01:33Z","html_url":"https://github.com/maglnet/ComposerRequireChecker/pull/9#discussion_r46747281","pull_request_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/comments/46747281"},"html":{"href":"https://github.com/maglnet/ComposerRequireChecker/pull/9#discussion_r46747281"},"pull_request":{"href":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/9","id":52735907,"html_url":"https://github.com/maglnet/ComposerRequireChecker/pull/9","diff_url":"https://github.com/maglnet/ComposerRequireChecker/pull/9.diff","patch_url":"https://github.com/maglnet/ComposerRequireChecker/pull/9.patch","issue_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/issues/9","number":9,"state":"open","locked":false,"title":"[WIP] first draft to suggest requiring of extensions","user":{"login":"maglnet","id":4430279,"avatar_url":"https://avatars.githubusercontent.com/u/4430279?v=3","gravatar_id":"","url":"https://api.github.com/users/maglnet","html_url":"https://github.com/maglnet","followers_url":"https://api.github.com/users/maglnet/followers","following_url":"https://api.github.com/users/maglnet/following{/other_user}","gists_url":"https://api.github.com/users/maglnet/gists{/gist_id}","starred_url":"https://api.github.com/users/maglnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maglnet/subscriptions","organizations_url":"https://api.github.com/users/maglnet/orgs","repos_url":"https://api.github.com/users/maglnet/repos","events_url":"https://api.github.com/users/maglnet/events{/privacy}","received_events_url":"https://api.github.com/users/maglnet/received_events","type":"User","site_admin":false},"body":"As mentioned in #2, it would be nice to see, which dependency should be required to fix an unknown symbol.\r\n\r\nThis draft checks all loaded extensions for the unknown symbol and suggests requiring an extension if it can be found.","created_at":"2015-12-04T23:39:30Z","updated_at":"2015-12-05T00:01:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5baa9e4f5d4cc9a526870dddc6338f75203b28ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/9/commits","review_comments_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/9/comments","review_comment_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/issues/9/comments","statuses_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/statuses/5c0385542fe9b38504b1f7edbe23676269c79cd9","head":{"label":"maglnet:feature/suggest-extensions","ref":"feature/suggest-extensions","sha":"5c0385542fe9b38504b1f7edbe23676269c79cd9","user":{"login":"maglnet","id":4430279,"avatar_url":"https://avatars.githubusercontent.com/u/4430279?v=3","gravatar_id":"","url":"https://api.github.com/users/maglnet","html_url":"https://github.com/maglnet","followers_url":"https://api.github.com/users/maglnet/followers","following_url":"https://api.github.com/users/maglnet/following{/other_user}","gists_url":"https://api.github.com/users/maglnet/gists{/gist_id}","starred_url":"https://api.github.com/users/maglnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maglnet/subscriptions","organizations_url":"https://api.github.com/users/maglnet/orgs","repos_url":"https://api.github.com/users/maglnet/repos","events_url":"https://api.github.com/users/maglnet/events{/privacy}","received_events_url":"https://api.github.com/users/maglnet/received_events","type":"User","site_admin":false},"repo":{"id":46859018,"name":"ComposerRequireChecker","full_name":"maglnet/ComposerRequireChecker","owner":{"login":"maglnet","id":4430279,"avatar_url":"https://avatars.githubusercontent.com/u/4430279?v=3","gravatar_id":"","url":"https://api.github.com/users/maglnet","html_url":"https://github.com/maglnet","followers_url":"https://api.github.com/users/maglnet/followers","following_url":"https://api.github.com/users/maglnet/following{/other_user}","gists_url":"https://api.github.com/users/maglnet/gists{/gist_id}","starred_url":"https://api.github.com/users/maglnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maglnet/subscriptions","organizations_url":"https://api.github.com/users/maglnet/orgs","repos_url":"https://api.github.com/users/maglnet/repos","events_url":"https://api.github.com/users/maglnet/events{/privacy}","received_events_url":"https://api.github.com/users/maglnet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maglnet/ComposerRequireChecker","description":"A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies","fork":true,"url":"https://api.github.com/repos/maglnet/ComposerRequireChecker","forks_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/forks","keys_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/teams","hooks_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/hooks","issue_events_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/issues/events{/number}","events_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/events","assignees_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/assignees{/user}","branches_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/branches{/branch}","tags_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/tags","blobs_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/git/refs{/sha}","trees_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/statuses/{sha}","languages_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/languages","stargazers_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/stargazers","contributors_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/contributors","subscribers_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/subscribers","subscription_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/subscription","commits_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/commits{/sha}","git_commits_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/git/commits{/sha}","comments_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/comments{/number}","issue_comment_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/issues/comments{/number}","contents_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/contents/{+path}","compare_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/merges","archive_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/downloads","issues_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/issues{/number}","pulls_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls{/number}","milestones_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/milestones{/number}","notifications_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/labels{/name}","releases_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/releases{/id}","created_at":"2015-11-25T12:01:02Z","updated_at":"2015-12-04T02:59:42Z","pushed_at":"2015-12-04T23:39:31Z","git_url":"git://github.com/maglnet/ComposerRequireChecker.git","ssh_url":"git@github.com:maglnet/ComposerRequireChecker.git","clone_url":"https://github.com/maglnet/ComposerRequireChecker.git","svn_url":"https://github.com/maglnet/ComposerRequireChecker","homepage":null,"size":65,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":4,"default_branch":"master"}},"base":{"label":"maglnet:master","ref":"master","sha":"961aa4cd48cc4d627414cf2ac213389bd4f441bf","user":{"login":"maglnet","id":4430279,"avatar_url":"https://avatars.githubusercontent.com/u/4430279?v=3","gravatar_id":"","url":"https://api.github.com/users/maglnet","html_url":"https://github.com/maglnet","followers_url":"https://api.github.com/users/maglnet/followers","following_url":"https://api.github.com/users/maglnet/following{/other_user}","gists_url":"https://api.github.com/users/maglnet/gists{/gist_id}","starred_url":"https://api.github.com/users/maglnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maglnet/subscriptions","organizations_url":"https://api.github.com/users/maglnet/orgs","repos_url":"https://api.github.com/users/maglnet/repos","events_url":"https://api.github.com/users/maglnet/events{/privacy}","received_events_url":"https://api.github.com/users/maglnet/received_events","type":"User","site_admin":false},"repo":{"id":46859018,"name":"ComposerRequireChecker","full_name":"maglnet/ComposerRequireChecker","owner":{"login":"maglnet","id":4430279,"avatar_url":"https://avatars.githubusercontent.com/u/4430279?v=3","gravatar_id":"","url":"https://api.github.com/users/maglnet","html_url":"https://github.com/maglnet","followers_url":"https://api.github.com/users/maglnet/followers","following_url":"https://api.github.com/users/maglnet/following{/other_user}","gists_url":"https://api.github.com/users/maglnet/gists{/gist_id}","starred_url":"https://api.github.com/users/maglnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maglnet/subscriptions","organizations_url":"https://api.github.com/users/maglnet/orgs","repos_url":"https://api.github.com/users/maglnet/repos","events_url":"https://api.github.com/users/maglnet/events{/privacy}","received_events_url":"https://api.github.com/users/maglnet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maglnet/ComposerRequireChecker","description":"A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies","fork":true,"url":"https://api.github.com/repos/maglnet/ComposerRequireChecker","forks_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/forks","keys_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/teams","hooks_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/hooks","issue_events_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/issues/events{/number}","events_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/events","assignees_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/assignees{/user}","branches_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/branches{/branch}","tags_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/tags","blobs_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/git/refs{/sha}","trees_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/statuses/{sha}","languages_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/languages","stargazers_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/stargazers","contributors_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/contributors","subscribers_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/subscribers","subscription_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/subscription","commits_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/commits{/sha}","git_commits_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/git/commits{/sha}","comments_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/comments{/number}","issue_comment_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/issues/comments{/number}","contents_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/contents/{+path}","compare_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/merges","archive_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/downloads","issues_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/issues{/number}","pulls_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls{/number}","milestones_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/milestones{/number}","notifications_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/labels{/name}","releases_url":"https://api.github.com/repos/maglnet/ComposerRequireChecker/releases{/id}","created_at":"2015-11-25T12:01:02Z","updated_at":"2015-12-04T02:59:42Z","pushed_at":"2015-12-04T23:39:31Z","git_url":"git://github.com/maglnet/ComposerRequireChecker.git","ssh_url":"git@github.com:maglnet/ComposerRequireChecker.git","clone_url":"https://github.com/maglnet/ComposerRequireChecker.git","svn_url":"https://github.com/maglnet/ComposerRequireChecker","homepage":null,"size":65,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/9"},"html":{"href":"https://github.com/maglnet/ComposerRequireChecker/pull/9"},"issue":{"href":"https://api.github.com/repos/maglnet/ComposerRequireChecker/issues/9"},"comments":{"href":"https://api.github.com/repos/maglnet/ComposerRequireChecker/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maglnet/ComposerRequireChecker/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/maglnet/ComposerRequireChecker/statuses/5c0385542fe9b38504b1f7edbe23676269c79cd9"}}}}