{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony/pulls/comments/72103680","id":72103680,"diff_hunk":"@@ -335,6 +335,8 @@ public function register($name)\n     /**\n      * Adds an array of command objects.\n      *\n+     * @see Application::add()","path":"src/Symfony/Component/Console/Application.php","position":13,"original_position":13,"commit_id":"fc706e9abe56ab0cbe21938a1a86e1f62fa691e4","original_commit_id":"fc706e9abe56ab0cbe21938a1a86e1f62fa691e4","user":{"login":"iltar","id":1754678,"avatar_url":"https://avatars.githubusercontent.com/u/1754678?v=3","gravatar_id":"","url":"https://api.github.com/users/iltar","html_url":"https://github.com/iltar","followers_url":"https://api.github.com/users/iltar/followers","following_url":"https://api.github.com/users/iltar/following{/other_user}","gists_url":"https://api.github.com/users/iltar/gists{/gist_id}","starred_url":"https://api.github.com/users/iltar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iltar/subscriptions","organizations_url":"https://api.github.com/users/iltar/orgs","repos_url":"https://api.github.com/users/iltar/repos","events_url":"https://api.github.com/users/iltar/events{/privacy}","received_events_url":"https://api.github.com/users/iltar/received_events","type":"User","site_admin":false},"body":"What about inline?","created_at":"2016-07-25T17:08:16Z","updated_at":"2016-07-25T17:08:16Z","html_url":"https://github.com/symfony/symfony/pull/19389#discussion_r72103680","pull_request_url":"https://api.github.com/repos/symfony/symfony/pulls/19389","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/comments/72103680"},"html":{"href":"https://github.com/symfony/symfony/pull/19389#discussion_r72103680"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony/pulls/19389"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/19389","id":78004874,"html_url":"https://github.com/symfony/symfony/pull/19389","diff_url":"https://github.com/symfony/symfony/pull/19389.diff","patch_url":"https://github.com/symfony/symfony/pull/19389.patch","issue_url":"https://api.github.com/repos/symfony/symfony/issues/19389","number":19389,"state":"open","locked":false,"title":"[Console] Application update PHPDoc of add and register methods","user":{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars.githubusercontent.com/u/10462973?v=3","gravatar_id":"","url":"https://api.github.com/users/SpacePossum","html_url":"https://github.com/SpacePossum","followers_url":"https://api.github.com/users/SpacePossum/followers","following_url":"https://api.github.com/users/SpacePossum/following{/other_user}","gists_url":"https://api.github.com/users/SpacePossum/gists{/gist_id}","starred_url":"https://api.github.com/users/SpacePossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpacePossum/subscriptions","organizations_url":"https://api.github.com/users/SpacePossum/orgs","repos_url":"https://api.github.com/users/SpacePossum/repos","events_url":"https://api.github.com/users/SpacePossum/events{/privacy}","received_events_url":"https://api.github.com/users/SpacePossum/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Branch?       | 2.7\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| License       | MIT\r\n\r\nThe [PHPDoc](https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Console/Application.php#L354) states the method will always return a command, but it doesn't. Since [Application::register](https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Console/Application.php#L328) returns the result of `add` directly is also doesn't always return the command (as its PHPDoc states).\r\n\r\n","created_at":"2016-07-19T16:09:37Z","updated_at":"2016-07-25T17:08:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14aa662f8a78c16125f709391a0db9ab6f0d4bc0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony/pulls/19389/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony/pulls/19389/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/19389/comments","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/fc706e9abe56ab0cbe21938a1a86e1f62fa691e4","head":{"label":"SpacePossum:patch-2","ref":"patch-2","sha":"fc706e9abe56ab0cbe21938a1a86e1f62fa691e4","user":{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars.githubusercontent.com/u/10462973?v=3","gravatar_id":"","url":"https://api.github.com/users/SpacePossum","html_url":"https://github.com/SpacePossum","followers_url":"https://api.github.com/users/SpacePossum/followers","following_url":"https://api.github.com/users/SpacePossum/following{/other_user}","gists_url":"https://api.github.com/users/SpacePossum/gists{/gist_id}","starred_url":"https://api.github.com/users/SpacePossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpacePossum/subscriptions","organizations_url":"https://api.github.com/users/SpacePossum/orgs","repos_url":"https://api.github.com/users/SpacePossum/repos","events_url":"https://api.github.com/users/SpacePossum/events{/privacy}","received_events_url":"https://api.github.com/users/SpacePossum/received_events","type":"User","site_admin":false},"repo":{"id":29966823,"name":"symfony","full_name":"SpacePossum/symfony","owner":{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars.githubusercontent.com/u/10462973?v=3","gravatar_id":"","url":"https://api.github.com/users/SpacePossum","html_url":"https://github.com/SpacePossum","followers_url":"https://api.github.com/users/SpacePossum/followers","following_url":"https://api.github.com/users/SpacePossum/following{/other_user}","gists_url":"https://api.github.com/users/SpacePossum/gists{/gist_id}","starred_url":"https://api.github.com/users/SpacePossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpacePossum/subscriptions","organizations_url":"https://api.github.com/users/SpacePossum/orgs","repos_url":"https://api.github.com/users/SpacePossum/repos","events_url":"https://api.github.com/users/SpacePossum/events{/privacy}","received_events_url":"https://api.github.com/users/SpacePossum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SpacePossum/symfony","description":"The Symfony PHP framework","fork":true,"url":"https://api.github.com/repos/SpacePossum/symfony","forks_url":"https://api.github.com/repos/SpacePossum/symfony/forks","keys_url":"https://api.github.com/repos/SpacePossum/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpacePossum/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpacePossum/symfony/teams","hooks_url":"https://api.github.com/repos/SpacePossum/symfony/hooks","issue_events_url":"https://api.github.com/repos/SpacePossum/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/SpacePossum/symfony/events","assignees_url":"https://api.github.com/repos/SpacePossum/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/SpacePossum/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/SpacePossum/symfony/tags","blobs_url":"https://api.github.com/repos/SpacePossum/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpacePossum/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpacePossum/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpacePossum/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpacePossum/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/SpacePossum/symfony/languages","stargazers_url":"https://api.github.com/repos/SpacePossum/symfony/stargazers","contributors_url":"https://api.github.com/repos/SpacePossum/symfony/contributors","subscribers_url":"https://api.github.com/repos/SpacePossum/symfony/subscribers","subscription_url":"https://api.github.com/repos/SpacePossum/symfony/subscription","commits_url":"https://api.github.com/repos/SpacePossum/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpacePossum/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpacePossum/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpacePossum/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpacePossum/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/SpacePossum/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpacePossum/symfony/merges","archive_url":"https://api.github.com/repos/SpacePossum/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpacePossum/symfony/downloads","issues_url":"https://api.github.com/repos/SpacePossum/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/SpacePossum/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/SpacePossum/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/SpacePossum/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpacePossum/symfony/labels{/name}","releases_url":"https://api.github.com/repos/SpacePossum/symfony/releases{/id}","deployments_url":"https://api.github.com/repos/SpacePossum/symfony/deployments","created_at":"2015-01-28T12:36:38Z","updated_at":"2016-06-24T08:42:35Z","pushed_at":"2016-07-23T18:18:17Z","git_url":"git://github.com/SpacePossum/symfony.git","ssh_url":"git@github.com:SpacePossum/symfony.git","clone_url":"https://github.com/SpacePossum/symfony.git","svn_url":"https://github.com/SpacePossum/symfony","homepage":"symfony.com","size":72705,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":false,"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":"2.7"}},"base":{"label":"symfony:2.7","ref":"2.7","sha":"37cd583e78311bade00b6f314f22956ad6e63a46","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":458058,"name":"symfony","full_name":"symfony/symfony","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony","description":"The Symfony PHP framework","fork":false,"url":"https://api.github.com/repos/symfony/symfony","forks_url":"https://api.github.com/repos/symfony/symfony/forks","keys_url":"https://api.github.com/repos/symfony/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony/teams","hooks_url":"https://api.github.com/repos/symfony/symfony/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony/events","assignees_url":"https://api.github.com/repos/symfony/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony/tags","blobs_url":"https://api.github.com/repos/symfony/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony/subscription","commits_url":"https://api.github.com/repos/symfony/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony/merges","archive_url":"https://api.github.com/repos/symfony/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony/downloads","issues_url":"https://api.github.com/repos/symfony/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony/releases{/id}","deployments_url":"https://api.github.com/repos/symfony/symfony/deployments","created_at":"2010-01-04T14:21:21Z","updated_at":"2016-07-25T13:28:43Z","pushed_at":"2016-07-25T17:02:35Z","git_url":"git://github.com/symfony/symfony.git","ssh_url":"git@github.com:symfony/symfony.git","clone_url":"https://github.com/symfony/symfony.git","svn_url":"https://github.com/symfony/symfony","homepage":"symfony.com","size":130638,"stargazers_count":12683,"watchers_count":12683,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":4947,"mirror_url":null,"open_issues_count":702,"forks":4947,"open_issues":702,"watchers":12683,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/19389"},"html":{"href":"https://github.com/symfony/symfony/pull/19389"},"issue":{"href":"https://api.github.com/repos/symfony/symfony/issues/19389"},"comments":{"href":"https://api.github.com/repos/symfony/symfony/issues/19389/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony/pulls/19389/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony/pulls/19389/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony/statuses/fc706e9abe56ab0cbe21938a1a86e1f62fa691e4"}}}}
{"actor":{"display_login":"iltar"}}